Home > Blockchain >  WEBRTC oneway stream via HTTP without getusermedia
WEBRTC oneway stream via HTTP without getusermedia

Time:06-25

We are working on a JS frontend to display a video stream with low latency and thus we are using WebRTC.

we read in this article that HTTPS is required since getUserMedia is a powerfull function. Link to Topic It is only one-way, do we do not try to access getusermedia. Still when using Chrome or any mobile browser, the official webrtc test sites work fine but our setup is only accessible on MacOS with Safari.

Could someone with WebRTC knowledge tell me:

Is it correct to say that displaying an incoming WebRTC video stream should be possible to display on firefox or chrome via a HTTP and when there is no attempt to access the users Camera or Microphone via getusermedia

CodePudding user response:

I've found a discussion about this on w3c page. Looks like there's no requirement for secure context for webrtc aside from getUserMedia.

Also I just tested an incoming-only webrtc video stream served on remote machine in firefox 101.0.1 and chromium 105.0.5141.0, works fine without https.

The same setup but with getUserMedia doesn't work.

So I guess your statement is correct.

  • Related