Questions tagged [simplewebrtc]

SimpleWebRTC is an open source javascript library for joining and managing mesh p2p WebRTC conferences. Questions using this tag should be specific to this library.

Questions about the SimpleWebRTC library should use the simplewebrtc tag.

WebRTC is a technology stack for establishing (S)RTP and SCTP streams between peers. Peers are normally browser sessions.

p2p means "peer to peer," indicative of a transport between peers without a server or translation layer in the middle.

SimpleWebRTC normalizes browser API differences for peer connections and user media access. The library manages multiple RTCPeerConnections to provide a clean API for joining mesh (fully connected graph of p2p sessions) "rooms."

See https://simplewebrtc.com/ for more information and demos. See https://github.com/andyet/simplewebrtc for source code and issues.

159 questions
18
votes
5 answers

How to mute/unmute mic in webrtc

I have read from here that how i can mute/unmute mic for a localstream in webrtc:WebRTC Tips & Tricks When i start my localstream mic is enable at that time by default so when i set audioTracks[0].enabled=false it muted a mic in my local stream…
user526206
11
votes
4 answers

Add webRTC in webview in iOS?

I have created a chat but with webView. The problem is the chat has video and voice that is not supported with iOS because it does not support webRTC. The main question is how can I easily add RTC inside webView in Swift to support iOS video and…
Steven
  • 762
  • 1
  • 10
  • 27
10
votes
2 answers

Is there a formula for rating WebRTC audio quality as Excellent, Good, Fair, or Poor?

I have been able to get various stats (Jitter, RTT, Packet lost, etc) of WebRTC audio call using RTCPeerConnection.getStats() API. I need to rate the overall call quality as Excellent, Good, Fair, or Poor. Is there a formula that uses WebRTC stats…
Girish MC
  • 365
  • 1
  • 10
10
votes
2 answers

Disabling Auto Gain Conctrol with WebRTC App

is there a way to disable the WebRTC "auto gain control feature" by default, by applying some javascript code to the app files? i am using simplewebrtc.
jhon dano
  • 660
  • 6
  • 23
7
votes
2 answers

Failed to execute 'send' on 'RTCDataChannel': RTCDataChannel.readyState is not 'open'

I am trying to learn WebRTC . I copied some codes and i get this error: Failed to execute 'send' on 'RTCDataChannel': RTCDataChannel.readyState is not 'open' Any one can help? code score: http://www.tutorialspoint.com/webrtc/webrtc_text_demo.htm
GentleMan
  • 87
  • 1
  • 5
6
votes
1 answer

Using WebRTC how to choose mic and camera?

Using the API navigator.mediaDevices.enumerateDevices() I got the ID of the devices available in the computer, but I don't know how to tell the navigator that I want to switch the camera or mic. In the forums there are many examples, but none is…
6
votes
1 answer

webRTC ReferenceError: webkitRTCPeerConnection is not defined

I am study about learning WebRTC book and create a demo 4 chapter. I am gating an error in console: ReferenceError: webkitRTCPeerConnection is not defined and not understand what can I confi the "iceServers": Here is my javascript code function…
Harman
  • 1,703
  • 5
  • 22
  • 40
5
votes
1 answer

I want to do peer to peer video Chat through webRTC by using pure javaScript

I am new to webRTC i made a code for video Chat it is successfully executing by I don't want to use scaledrone.I want to use pure JavasCript. How will i do it please help me html and css
Tut neil
  • 81
  • 4
5
votes
1 answer

How to fix unreliable WebRTC calling?

WebRTC calls are not reliable in our application. Sometimes we see the black screen, sometimes we don’t see call start at all and sometimes there are seen huge delays or de-sync in audio/video. Setup: Google’s public STUN server…
Rustem Mustafin
  • 957
  • 1
  • 11
  • 23
4
votes
0 answers

Problem show video with kurento media server running in docker

Description: I am building a video call app via web browser, a simple version of Googlemeet. I use WebRTC, Kurento, React Frontend, Express Backend, Socket.io Signaling Server My code to connect kurento server: const io = new socketIO.Server(server,…
4
votes
2 answers

webRTC multi-peer connection (3 clients and above)

i want to use a simple WebRTC for my clients like this one (https://appr.tc/). The problem with the above link is that it can only take up to 2 users(A and B). Do you know if there are any others FREE programms that take clients A,B,C and D? Thank…
user13082452
4
votes
1 answer

WebRTC remote video keeps freezing on ios Safari

We have a WebRTC based solution and have been excited about WebRTC support on ios 11 Safari. However, every WebRTC solution we have tested using iPhone 6 on ios 11.0.3 experiences the same problem: After a while the remote video freezes and the…
Otto T.
  • 83
  • 1
  • 6
3
votes
1 answer

Is it possible to send the WebRTC VideoStreamTrack from Unity to an RTCpeerConnection in the browser

I am trying to send the camera stream from unity to an RTCPeerConnection in the browser. The signaling between the two peers is done correctly, although when I send the MediaStreamTrack it does not work in the browser. Does anybody have an idea?…
Sehtaya
  • 31
  • 1
3
votes
0 answers

WebRTC is not supported in Chrome and Edge

Hi I've implemented a video call using WebRTC / Agora.io. It was working well until last week I get this message. It doesn't support now in Chrome and Edge. But is still working on Mozilla Firefox. Anyone also encounter this issue? There's no error…
3
votes
2 answers

Webrtc behavior Nack & FEC

We have WebRTC application with two peers and I experience packet loss of around 5% (checked on webrtc-internals) when call is ongoing. I see Nacks as well. Wants to know if FEC is being implemented in my setup? I do see some SDP parameters related…
Raja Mandava
  • 113
  • 1
  • 9
1
2 3
10 11