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
3
votes
0 answers

Remote offer sdp: Failed to set remote video description send parameters

I am using Simple Peer to connect 2 clients over webRTC While trying to send the offer to the receiver I am getting Failed to set remote video description send parameters. Here is the SDP {"type":"offer","sdp":"v=0\r\no=- 3967002803862387085 2 IN…
user3728728
  • 885
  • 2
  • 11
  • 14
3
votes
1 answer

How to calculate Mean Opinion Score (MOS) to measure the quality of WebRTC calls without knowing the Round Trip Time (RTT) of the inbound RTP stream?

WebRTC inbound RTP stream (inbound-rtp) does not return Round Trip Time (RTT), but it is required to to calculate Mean Opinion Score (MOS). Any suggestions? Is is safe to assume asymmetric latency and take the RTT for inbound-rtp same as RTT of…
Girish MC
  • 365
  • 1
  • 10
3
votes
0 answers

WebRTC Detect Orientation from Peer Video Stream

Using RecordRTC and WebRTC I am able to save a Peer MediaStream as a webm/video file. The orientation of the file differs based on the peer device. Meaning a 640x480 video is rotated clockwise or counter clockwise. To re-orient the recorded video,…
Daryl
  • 772
  • 8
  • 21
3
votes
2 answers

How to implement WebRTC on android for app to app calling?

I am really new to WebRTC. What i need is to implement app to app voice calling (not video calling) feature in my android app. I want to call randomly among my app users by webRTC on android. I implemented appRTC sdk in android studio and made an…
3
votes
1 answer

WebRTC changing/moving video element without stopping stream

As I'm playing with WebRTC in Chrome, I'm noticing that the durability of these streams is still somewhat shaky. I need to create a video stream before the element displaying it is shown (technically I only need the audio track initially, but…
Alexander Tsepkov
  • 3,946
  • 3
  • 35
  • 59
3
votes
1 answer

WebRTC: Called in wrong state: STATE_SENTOFFER

I'm following this tutorial, to make a simple example of WebRTC. But the remote video does not appear in any browser and Chrome does not show the error: Uncaught (in promise) DOMException: Error processing ICE candidate I made a log not…
luisdemarchi
  • 1,402
  • 19
  • 29
3
votes
1 answer

WebRTC logic for stream renegotiation (enable/disable video)

I've been using SimpleWebRTC in my app for a while. It's very easy to setup and works well for simple apps. However, I need to be able to disable/enable video without affecting audio in my app, and this is where SimpleWebRTC falls short. Searching a…
Alexander Tsepkov
  • 3,946
  • 3
  • 35
  • 59
3
votes
2 answers

SimpleWebRTC, EasyRTC and Kurento .. what's the difference?

Hello I am new learning WebRTC and i am a bit confused, i understood that WebRTC works peer to peer but we need signaling, which of SimpleWebRTC, EasyRTC and Kurento can help doing that and why do we need them if node.js can do it? if they are not…
h_h10a
  • 449
  • 5
  • 18
3
votes
2 answers

Is Co-browsing feature possible with WEBRTC?

I have simple question. Is Co-browsing feature possible with WEBRTC? If yes then how?
Vinayak Kedge
  • 103
  • 2
  • 11
2
votes
2 answers

Differentiate between screen share track and camera track in a normal webrtc

Is there any way to differentiate between screen share track and camera track in a webrtc video call? I am able to add both video tracks(camera as well as screen share track) using proper negotiation event.But,I cannot differentiate these 2 tracks…
Kanhaiya
  • 359
  • 2
  • 11
2
votes
1 answer

WebRTC failed to play in chrome & edge but playing in Firefiox

I have a very simple code for video calling using WebRTC. The entire system working different for different browsers. Capture Browser Player Browser Working Chrome Firefox ✔ Chrome Chrome X Firefox Chrome X Firefox Firefox ✔ The…
Sowvik Roy
  • 885
  • 2
  • 11
  • 25
2
votes
0 answers

Uncaught Error: Connection failed. rtcpeerconnection.t._pc.onconnectionstatechange

Here Is the Reactjs Component code It works fine in the same browser after deploying to heroku but when we join room from different internets this error Uncaught Error: Connection failed. rtcpeerconnection.t._pc.onconnectionstatechange occured.I…
2
votes
1 answer

Emulator shows black screen during a video call

I am testing a simple webrtc application and for that I do a video call using a browser. I have setup an emulator running Android R (10.0+) emulating Pixel 3 with 4 GB of ram and 6 GB of hard drive space. I made a call using the application between…
2
votes
1 answer

navigator.getUserMedia is not a function using WebRTC

I try to build a video group confference stream with some people and i use WebRTC (From here: https://github.com/anoek/webrtc-group-chat-example) and as server i use VPS Centos 7 with node js installed and when i try to start my webrtc server, in…
Fido
  • 37
  • 2
  • 11
2
votes
1 answer

In Backgrond WebRTC offer is not working in iOS

In WebRTC i m giving offer when the app is open and working fine and when it goes to background or Phone is unlock offer is not going.How offer can be sent.Can any one help me.
Sugumaran
  • 61
  • 2
1
2
3
10 11