Questions tagged [webrtc]

WebRTC is a free, open project providing browsers and mobile applications with Real-Time Communications (RTC) capabilities (audio, video, and binary data streaming) via simple APIs and common set of protocols. Tags for operating environment may be helpful, e.g. [node.js] or [reactjs] or [ios] as well as specific browser, e.g. [firefox]. Questions concerning Session Description Protocol use [sdp]. Use [ortc] for Object RTC.

WebRTC offers web application developers the ability to write rich, real-time multimedia applications (think video chat) on the web, without requiring plugins, downloads, or installs. Its purpose is to help build a strong RTC platform that works across multiple web browsers, across multiple platforms.

WebRTC API support and implementations vary, widely, across browsers and operating systems. There is at least some support (as of late 2019) in up-to-date versions of most browsers. canIUse.com for WebRTC tracks the latest levels of support. Please, when asking questions about WebRTC here on Stack Overflow, mention your OS and browser by version.

Resources to learn simple examples

8953 questions
3
votes
3 answers

WebRTC with perfect negotiation - Rollback on mobile Safari does not work

I am trying to implement perfect WebRTC negotiation for my small video conferencing application by considering the examples from the following page: https://blog.mozilla.org/webrtc/perfect-negotiation-in-webrtc/ Unortunately I did not manage to make…
gokumc
  • 138
  • 1
  • 9
3
votes
1 answer

Flutter WebRTC audio but no video

So I'm building a video calling application using flutter, flutterWeb, and the WebRTC package. I have a spring boot server sitting in the middle to pass the messages between the two clients. Each side shows the local video, but neither shows the…
Cate Daniel
  • 724
  • 2
  • 14
  • 30
3
votes
3 answers

API Documentation for WebRTC Android Library

I'm learning WebRTC and I have found its JavaScript documentation quiet good. But then, I want to work with webrtc on Android. So I found this page. After Adding the libraries I cannot find documentation like it is for JS. There is AppRTC but then I…
Stefano Mtangoo
  • 6,017
  • 6
  • 47
  • 93
3
votes
1 answer

Record the highest quality video using MediaRecorder API in HTML5

Using MediaRecorder API, I was able to code a page that captures the video from the web/mobile camera and saves the video on a local disk. Snippet of the code is as follows: let mediaRecorder; let recordedBlobs; window.addEventListener('load',…
Abdullah
  • 137
  • 3
  • 13
3
votes
1 answer

How does Hangouts get desktop capture on Safari?

So if we have a look at: https://developer.mozilla.org/en-US/docs/Web/API/Screen_Capture_API The state of the getDisplayMedia - the function used to get desktop stream - shows that its currently not supported in safari 12. And its evident from the…
Salar Khan
  • 457
  • 3
  • 13
3
votes
1 answer

How do I configure WebRTC to connect to my TURN server?

I am working on a very basic WebRTC project, but I can't seem to get my website to connect to my TURN server. I'v setup the TURN server using coturn on my local machine (MacOS 10.15.4), and I'm pretty sure its working and configured properly. (when…
Ties
  • 165
  • 4
  • 14
3
votes
0 answers

WebRTC on Edge gives "Timeout for addRemoteCandidate. Consider sending an end-of-candidates notification"

NOTE: Check most recent EDIT please I get this warning on edge: Timeout for addRemoteCandidate. Consider sending an end-of-candidates notification I do not understand how to fix this. I use an adapter.js and I found a thread where people talk about…
Roman
  • 3,563
  • 5
  • 48
  • 104
3
votes
1 answer

WebRTC Native Android Switch audio source?

I am using webrtc native for android and while using bluetooth, the webrtc lib doesn't select the bluetooth headset as default mic, so how to switch audio source that is microphone, like in the whatsapp, currently i am creating audio source like…
Nile Qor
  • 81
  • 6
3
votes
1 answer

How to read WebRTC bandwidth stats/metrics

I've made a project with javascript using the new webrtc RtcPeerConnection. I'd like to know how much bandwidth is used by the connection. I've seen there is a WebRTC Statistics API but i can figure out how to just get some kind of number in mbytes…
ikwillem
  • 1,044
  • 1
  • 12
  • 24
3
votes
0 answers

WebRTC ondevicechange workaround for mobile browser

According to https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/ondevicechange, the ondevicechange event is not supported in Chrome Android and Safari iOS. So is there any alternative or workaround to detect device changes during a…
user1927182
  • 103
  • 6
3
votes
3 answers

WebRTC & Peer JS Calling Issues

In my function connect(id): I start a call using var call = this.peer.call(id, this.mediastream); then I use call.on('stream', function(stream) { // `stream` is the MediaStream of the remote peer. // Here you'd add it to an HTML…
Kevin Goodwin
  • 31
  • 1
  • 2
3
votes
1 answer

In webRTC if I am getting remote ice candidates with srflx does that mean that connection should work? (Edit: No that't not all)

I am trying to implement video calls into an existing ionic 3 project for one of our clients, I have used the google code lab as a boiler plate code for sending the offer and answer via Firebase real time data base. This you probably heard(read)…
3
votes
1 answer

Do both endpoints in WebRTC need STUN/TURN config/credentials

Working in WebRTC, it would seem like only the offering client would need to provide STUN and TURN locations and credentials that would be encased in the offer and then used by the receiving client(s). Is that the case? If not, why not?
3
votes
0 answers

What is this string Chrome appends to the label in MediaDeviceInfo?

In the device list returned by enumerateDevices, instead of FaceTime HD Camera (Built-in), Chrome labels this device FaceTime HD Camera (Built-in) (05ac:1254) for me. It does the same for some other microphones and some other speakers but not all.…
Bryce Johnson
  • 6,689
  • 6
  • 40
  • 51
3
votes
0 answers

Update AppRTC android code with Unified semantic plan

I am working on webRTC on the android platform. It's working with libjingle peerconnection library and planB semantics plan. But now I am updating apprtc code with the latest webRTC version from here…
Shashank Gupta
  • 165
  • 2
  • 16
1 2 3
99
100