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
2
votes
1 answer

Serverless WebRTC SDP / ICE Timeout

I am creating a serverless webRTC connection therefore I manually relay SDP info between two machines. If the response SDP is not given within a very short period of time after the offer SDP, the connection fails/times out. Is there a way to extend…
BSomo
  • 21
  • 4
2
votes
1 answer

simpleWebRTC RemoteMedia videos not containing proper screenCapture bool

I'm trying to implement some WebRTC video via SimpleWebRTC React component library. Im having issues with sharing a screen from User A, and viewing it from user B. When sharing, User A's LocalMedia contains a media object with screenCapture:…
2
votes
1 answer

Listen to firebase database changes when app is closed

I am creating an Ionic 2 app with firebase and I need a way to listen to database changes (specifically on child_added) when the app is closed (I.e. in foreground,background and killed) Basically, I want to use WebRTC to make calls within the app…
2
votes
0 answers

WebRtc Audio transferring stopped after few seconds

From last few days I'm working on WebRtc I setup everything at server side and android side also, but when I call via an Android device, after few seconds audio transferring stopped while it's working fine web to web, so what am I doing wrong at…
Nilesh Rathore
  • 886
  • 1
  • 12
  • 22
2
votes
1 answer

Add Track to media stream

Is it possible to add or remove audio track to a stream after the stream connect to the pearConnection? I was able to do it before ( in getUserMedia ) But it doesn't work after the stream connect to the peerConnection Thanks you
MoShe
  • 6,197
  • 17
  • 51
  • 77
2
votes
1 answer

How to reduce audio noise in a WebRTC app

I'm working on video chatting application using peer to peer WebRTC approach where video looks fine but audio is having some extra noise occurring. Here is my code: navigator.getUserMedia({video: true,…
2
votes
0 answers

Embedded GeckoFx in C#.NET - WebRTC Video not working

I'm just trying to embed a GeckoFX (the latest got from nuget in VS2015) engine in an Windows Forms Window (this is working) to show some WebRTC video. To embed the GeckoFx to my WinForm Test-Application I'm using the following code: private…
A.Morisse
  • 21
  • 3
2
votes
1 answer

usage example of "sendDirectlyToAll" of simplewebrtc?

I am trying to send text to all my peers and I found this function "sendDirectlyToAll". For your convenience, I put the function information here: sendDirectlyToAll(channelLabel, messageType, payload) - broadcasts a message to all peers in the…
derek
  • 9,358
  • 11
  • 53
  • 94
2
votes
1 answer

getUserMedia error:Failed to get access to local media - WEBRTC

I've configured the App RTC Server in my PC. When I am accessing using local host (localhost:3000). The Video call is working. But when I am using IP address getting the error. (http://192.168.0.103:3000) Failed to get access to local media. Error…
Mr. N.V.Rao
  • 1,082
  • 13
  • 27
1
vote
1 answer

WebRTC - multi-track streams issue on Firefox <> Chrome

I created a video-call + multiple screen sharing app that works well in every case except one. The main flow is: A user (P1) join an empty room, nothing happens A second user (P2) join the room. P1 sends an offer to P2 which sends a response to…
Alberto Fecchi
  • 1,705
  • 12
  • 27
1
vote
1 answer

WebRTC peerConnection always failed between different devices

I was building Video Call App using webRTC for my thesis. I already build the app and it works perfectly if I use the same device (different tab browser/different browser). Then, when I try to call another user that logged in on another device, the…
agam theos
  • 39
  • 6
1
vote
1 answer

why there pion/webrtc generate candidate list have no tcp address

I want use golang pion/webrtc to publish local video file to a video server, bug this video server only support TCP connection, when i generate offer SDP by pion/webrtc code and candidate list have no one TCP candidate, so ICE connect failed. When I…
ahaooahaz
  • 38
  • 5
1
vote
1 answer

Unable to integrate Open Relay Project TURN server into WebRTC application using Vue

So i have been trying to create a simple live-streaming application in Vue using WebRTC which streams the video frames from one side to another ( and not the other way around ) and here is the example that i have been trying so far. In this example…
1
vote
1 answer

vuejs get text values across browser

i have text box if i type something it's showing text value based on it's id, my code is working when i run it on laptop http://localhost:8080/ if i open same website my on phone http://xxx.xxx.x.xxx:8080/ it's showing same page. when i type text…
Fayakon
  • 1,173
  • 4
  • 23
  • 48
1
vote
1 answer

How many ICE candidates to exchange for video call?

Suppose there are 2 users user 1: 10 Ice candidates generated user 2: 5 Ice candidates generated And I know only 1 candidate is required to establish a connection. So any of the above user sends candidates to other user and the connection gets…
1 2
3
10 11