Add support for media source enumeration in Browser Source

wartab

New Member
I have been trying to develop an advanced web based scene editor for OBS. I have been looking into the new HTML5 MediaStream API in order to implement some of the basic feature set that is present in OBS already in order to do that.

Unfortunately, the current API has no way to programmatically enumerate sources on a computer. I don't know to what extent the OBS team can add features to the browser source implementation, but a similar API to Electron's desktopCapturer or Chrome Extensions's desktopCapture would be awesome for that purpose.
 

dodgepong

Administrator
Community Helper
Doing this via the browser source would be entirely the wrong way to do it. You're better off using the websocket plugin/API.
 
Top