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

How does chrome://webrtc-internals/ come to know that a new tab has opened from which it can gather statistics of an on going webrtc call

How does chrome://webrtc-internals/ come to know that a new tab is opened and there is an active webrtc call from which it has to gather the statistics.I am more interested in knowing how does it dynamically come to know that this is the tab on…
MD5
  • 1,356
  • 15
  • 14
0
votes
1 answer

How to signal RPi-WebRTC-Streamer External IP address to the coTurn server?

At the moment, my RWS (RPi-WebRTC-Streamer) application works on my local network. I am now trying to connect it to my hosted coTURN server. My main_rws_orig.js is pointing at my coTurn server: var localTestingUrl =…
0
votes
2 answers

Signaling mechanism for webRTC using simpleWebRTC js library and backend in django

I am trying to build video conferencing web application where multiple people can join the call and there will be video/audio/data transmission. I researched a lot for this. What i understand is we can achieve this using webRTC protocol. I started…
0
votes
0 answers

WebRTC record div contains local and remote stream

I want to record a video stream with the same style CSS in HTML, in which local video in the bottom left of remote video it's possible to do this?
0
votes
0 answers

Cross-Origin Request Blocked error in firefox using simplewebrtc

I am trying to use simple-webRTC to stream video and audio from a client to node.js. I am working on HTTPS but i have this error, the problem is this script: ... ... and the error is: Cross-Origin Request Blocked: The Same Origin Policy…
kiana.ka
  • 509
  • 2
  • 5
  • 13
0
votes
2 answers

stream is undefined when using navigator.getUserMedia

I am using webrtc and trying to show the video after obtaining permission of getUserMedia() here is what I am trying to do var mediaConstraints = { audio: true, video: true }; const stream = await navigator.getUserMedia (mediaConstraints,…
Hoshani
  • 746
  • 1
  • 10
  • 27
0
votes
1 answer

How to increase channelMessage max size with simpleWebRTC SDK

I got this error after sending message via webrtc, the message contents file image. Message too large (can send a maximum of 262144 bytes) How can I achieve this one. Thanks in advance. Cheers
Jin
  • 153
  • 2
  • 12
0
votes
0 answers

Getting error in react while using WebRTC

Am using webRTC in my reactJS app, so am doing everything in webRTC like i used to do in normal javascript file , but on react when ever i establish a call i get this error index.js:1540 Uncaught Error: The error you provided does not contain a…
Mohamad Alasly
  • 330
  • 3
  • 17
0
votes
1 answer

WebRTC crash at line webrtc::PeerConnectionInterface::RTCConfiguration config; for Native Linux application

I'm writing a Native WebRTC application for Linux (Ubuntu), code is crashing at webrtc::PeerConnectionInterface::RTCConfiguration config; I have below two speculations I might be messing up with rtc threads, since the same line runs fine in…
0
votes
1 answer

SimpleWebRtc not working: window is undefined

I am trying to integrate SimpleWebRtc. I created a new component and integrating the code I found on the SimpleWebRtc site and getting an error: ReferenceError: window is not defined at eval…
D555
  • 1,704
  • 6
  • 26
  • 48
0
votes
1 answer

Sudden connection lost without any error messages

after having worked on App for chatting with SimpleWebRTC for about a month, which was functioning normally, however, 2 days ago all of the sudden when 2 or more peers connect to the same room after a couple of seconds the following is printed out…
Richard
  • 165
  • 3
  • 12
0
votes
0 answers

Unable to add media stream to video element

I am trying to pass a media stream from page 1 to page 2. I am getting a media stream with the same ID on page 2 as the media stream generated on page 1. But I am not able to add this media stream to the video tag that is present in the page 2 HTML…
Vijay
  • 61
  • 6
0
votes
0 answers

WebRtc stream without loss of quality

My web application records video streams on the server side using webRtc and kurento media server. Its just writing the raw stream received from the client to disk. But I was faced with the fact that the quality of the video falls dramatically. All…
0
votes
1 answer

How to make a video chat app web using SimpleWebRTC error

I was following a tutorial on Dzone however I completed the application but there were some errors. https://dzone.com/articles/build-a-video-chat-service-with-javascript-webrtc The first error is SimpleWebRtc is deprecated…
Alex
  • 11
  • 1
  • 5
0
votes
1 answer

Difference between webrtc and simplewebrtc

I am getting confused about webrtc and simplewebrtc. What is the difference between both of them? I want some extra functionalities aside from video/audio streaming. I want to record the remote or local videos. Please tell me which one is better to…