You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem Description
I want to use electron simply as a WebRTC stream publishing client to replace crippled ffmpeg/gstreamer.
The ffmpeg/gstreamer's RTP stream publishing cmdline cannot properly deal with WebRTC's RTCP/PLI keyframe request.
That is to say, i need the following code working:
const {app, BrowserWindow} = require('electron')
app.commandLine.appendSwitch('ignore-gpu-blacklist')
app.commandLine.appendSwitch('headless') //<--
const mainWindow = new BrowserWindow({
width: 1,
height: 1,
//no need to set show:false, since chrome's --headless mode is CLI mode without window...
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
preload: path.join(__dirname, 'preload.js')
}
});
Proposed Solution
desktopCapturer api currently needs running in renderer side, but it should be able to run without window system.
Alternatives Considered
If can support, electron will become the best/convenient full-functinal WebRTC client, used in App Window to Video Live Streaming scenario.
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Problem Description
I want to use electron simply as a WebRTC stream publishing client to replace crippled ffmpeg/gstreamer.
The ffmpeg/gstreamer's RTP stream publishing cmdline cannot properly deal with WebRTC's RTCP/PLI keyframe request.
That is to say, i need the following code working:
Proposed Solution
desktopCapturer api currently needs running in renderer side, but it should be able to run without window system.
Alternatives Considered
If can support, electron will become the best/convenient full-functinal WebRTC client, used in App Window to Video Live Streaming scenario.
Additional Information
No response
The text was updated successfully, but these errors were encountered: