Skip to content

Tag: webrtc

How can I get iOS to have 2 video streams?

Right now if I use my iPhone or iPad and try to display two streams, one is black and the other works. What can I do to get both working? This works fine on all browsers with my laptop. Answer Safari on iOS does not support more than a single active camera at a time. https://bugs.webkit.org/show_bug.cgi?id=23…

How to detect a frozen video stream in WebRTC

Unfortunately, from time to time when making a one-on-one video call using react-native-webrtc one of the two video streams freezes or becomes black. Is there a way to detect when that happens programmatically? Thx in advance! Answer It looks like each video track has a listener that fires as soon as the stre…

Why onnegotiationneeded is triggered only once?

I am adding tracks to my peer and the first time onnegotiationneeded is triggered just fine. However, upon adding more tracks onnegotiationneeded is not triggered therefore the new tracks are not showing any effect. This is the main part of the code I am working with : Answer It turns out that onnegotiationne…

Can I use PeerJS without a PeerJS Server?

I am trying to make peer-to-peer browser apps with PeerJS, which is a wrapper for the browser technology WebRTC. I spent several hours reading documentation and googling, but I still have no clue what the PeerJS Server is doing. The documentation of WebRTC mentions STUN and – in certain cases – TU…

Open Multiple Video Camera in a web Page

I have a web page that is trying to play multiple video stream from two web cam that is attached with the system. Three Cameras attached with my system , one in an in-build camera in the system, second is a usb camera and third is a droid cam client. I can’t play video from system cam and usb cam