Questions tagged [desktopcapturer]

14 questions
4
votes
1 answer

Is there a way to bypass Chrome desktopCapture's Choose Media Screen?

I am using Chrome desktopCapture API to create a screen recording Chrome App. Currently, I am doing this: app.js: document.querySelector('#startRecording').addEventListener('click', recordClick); function recordClick(event) { …
4
votes
0 answers

desktopCapturer - how to prove audio is coming through?

I have the following code that attempts to capture audio/video from a specific application running on my windows desktop: Audio and Video
dot
  • 14,928
  • 41
  • 110
  • 218
3
votes
0 answers

Electron desktopCapturer window capture lag and high latency

When I try to capture a window in Electron I get a very laggy (around 15fps) and high latency result, but when I capture the entire screen it works just fine. Maybe it is because I'm running getSource() under createWindow(), but again screen capture…
HasanTheSyrian_
  • 140
  • 1
  • 6
2
votes
0 answers

Electron: how to capture audio from only one app

We are developing a desktop application using Electron with screenshare capability. For this we use the getUserMedia API. And we have the option to choose which screen or window to capture. This is part of the code for that let constraints = { …
bzmaxat
  • 21
  • 1
2
votes
1 answer

Electron js use desktopCapture outside main.js

I have an app where I need to capture the Desktop on Button click. All relevent tutorials on YouTube are 1-2 years old. The desktopCapturer module is only available in main component, and I cannot figure out how to use it from there to capture the…
1
vote
0 answers

Electron screen capture not getting the right content with fullscreen window

I'm working in a project for Games Overlay using Electron with desktopCapturer to capture some screenshots from a fullscreen window outside electron. I'm using the default aproach you can find in the Electron documentation: Getting the source with…
RMSiqueira
  • 11
  • 1
1
vote
1 answer

desktopCapturer.getSources and getUserMedia not working

I've an Electron app that uses desktopCapturer, and I also capture audio using getUserMedia. All this works well when in development. But after building the app using electron-builder for Mac (dmg), desktopCapturer's getSources only returns the…
user
  • 183
  • 1
  • 2
  • 9
0
votes
0 answers

get detailed information about sources optained through desktopCapturer in electron desktop application

I am creating an desktop application using electron for the Linux platform. I am able to get screenshot of the entire screen or the each screen. Following is the code to that captures screenshot and passes to another function that saves screenshot…
0
votes
0 answers

Why does Electron's desktopCapturer return nothing (under the JSON tree), which causes a crash on my program?

I tried to use desktopCapturer in Electron, but when I tried to fetch all available sources, it returns a null value in all of those sources. Here, I got an example of 4 sources displaying in the JSON tree, but it came up with no name. Here is the…
Zean
  • 35
  • 1
  • 6
0
votes
0 answers

Desktop recording with Angular SPA in Electron app

I everyone. I have an application in Electron containing a SPA in Angular. Electron is used through a service that exposes its API using ipcRenderer and a javascript file that contains events derived from ipcMain.on, so that it can communicate…
0
votes
0 answers

How to find window id for recording specific window using Qt on Windows operating system?

How can I create video of specific window on Windows operating system using Qt? Specific window can be any opened GUI program like Chrome, Notepad etc QScreen *screen = QGuiApplication::primaryScreen(); if (const QWindow *window = windowHandle()) …
Alok
  • 7,734
  • 8
  • 55
  • 100
0
votes
1 answer

How to record screen using Qt?

Its very easy to take screenshot using Qt, as shwon in an official example. https://doc.qt.io/qt-5/qtwidgets-desktop-screenshot-example.html I am interested in creating screen recorder but I could not find a Qt way for doing this. How can I screen…
Alok
  • 7,734
  • 8
  • 55
  • 100
0
votes
1 answer

How to programmatically open a window which I get from Electron DesktopCapurer.getSources

I'm using MAC; Hi, I'm using DesktopCapturer to get all windows I can record and after using getSources method I get smth like appIcon: null display_id: "" id: "window:2643:0" name: "cast – preload.ts" thumbnail: {toPNG: ƒ, toJPEG: ƒ, toBitmap: ƒ,…
0
votes
0 answers

Blurry desktop capture output in Directshow Virtual camera

I am trying to create Directshow virtaul camera to capture desktop. For creating virtual camera I used existing https://github.com/roman380/tmhare.mvps.org-vcam For adding desktop capturing instead of random data I took help from Microsofts Push…
Alok
  • 7,734
  • 8
  • 55
  • 100