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=238492 is the most recent
Tag: webrtc
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 stream freezes. In react native it’s the onmute
is there any way to send webrtc frame to python script?
I created first web app(python and django) which shows client’s webcam frames This is my video.js However, I want to use client’s webcam frame as an input to my machine learning script(python .py) file. In local, it was easily done via opencv and numpy. But in web, I cannot feed frames to ML model. Any suggestions? Answer webrtc is a
Screen sharing issue in WebRTC/nodejs with socket.io
im working on a vidoe conferencing application and I cant seem to get the screen sharing working getting an error “mediaTypeError: Cannot read properties of undefined (reading ‘getSender’)”. The screensharing is able to start but nothing is being shared This is my server file. Codes for screensharing where there seem to be an issue with getSender Github link for the
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 onnegotiationneeded only fires once at removeTrack or addTrack
Request video during PeerJs ongoing live connection (stream)
I am new to PeerJs and recently starting developing an app for my school during this Covid pandemic. I have been able to deploy code to NodeJs server with express and was able to establish connection between 2 users. But the problem arises when video is turned off from the beginning of stream for both users and a user wants
WebRTC PeerConnection addTrack after connection established
I’m doing a video conference website. The use case is a user are showing camera and everyone already see here camera. It mean the connection is stable. And user want to share screen. After I have screen stream, I add track to peerConnection but remote computer not fire ontrack event. Here is my code after I got screen stream: Please
WebAudio panner not working properly with WebRTC audio stream
I have an issue where my audio panner isn’t properly panning with the given values. Currently, if I set positionX.value to 1000, the audio plays as it was in the middle and not panned at all to the right channel. Now if I set positionX.value to 0.5 or 0.9 or 1, the audio plays on the right channel, (even though
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 – TURN servers to be required for WebRTC, but there
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