mpromonet / webrtc-streamer

WebRTC streamer for V4L2 capture devices, RTSP sources and Screen Capture
https://webrtcstreamer.agreeabletree-365b9a90.canadacentral.azurecontainerapps.io/?layout=2x2
The Unlicense
2.94k stars 598 forks source link

[NPM] Expose underlying mediastreams #555

Closed LeoDog896 closed 1 year ago

LeoDog896 commented 1 year ago

Is your feature request related to a problem? Please describe. I have agonistic camera displays that I would like to use that take in a MediaStream. However, webrtc-streamer (js) doesn't expose the underlying mediastream objects for my use

Describe the solution you'd like I would like an exposed array of the media streams for my own display purposes.

Describe alternatives you've considered

mpromonet commented 1 year ago

Hi,

The html files are a separate project, just a simple implementation. Using api /api/call you could create webrtc peerconnection.

Best regards Michel

LeoDog896 commented 1 year ago

That makes sense. My team is mainly a web development team so we were under the impression that the webrtc-streamer NPM package was first-class, not an example package. Thanks for the clarification!