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

How do we know whether TURN or STUN server got connected?

For TURN and STUN server I am using http://code.google.com/p/rfc5766-turn-server/ Wanted to Create diagnostics to know whether STUN or TURN server is connected. It would be great help if anyone can help me 1) How to implement it on the server 2)…
Jeet
  • 717
  • 6
  • 18
4
votes
0 answers

Can WebRTC.io on server side (nodejs) access the stream?

My plan is to stream voice from browser to the server (which would be Peer) in WebRTC : I am making a nodejs server and client with webrtc.io like in the following link: https://github.com/webRTC/webRTC.io Since webRTC.io has a nodejs module, and…
Rocel
  • 1,029
  • 1
  • 7
  • 22
4
votes
1 answer

WebRTC ice candidates

I set up RTCPeerConnection but it only works locally (between 2 laptops on my wireless connection). For other connections I see a black stream. I suspect it is due to the ICE candidates not being properly gathered, they only contain local IPs:…
Samson
  • 2,801
  • 7
  • 37
  • 55
4
votes
2 answers

onicecandidate event is firing before acceping the answer

I am haveing trouble in runing my own webrtc demo code in chrome browser v30. But the code is perfectly working on firefox. onicecandidate event is firing before the offer is accepted by the other peer. on the other side peer connection is only…
cJ_
  • 486
  • 1
  • 4
  • 19
4
votes
3 answers

WebRTC shim for browsers that don't support WebRTC

Not a lot of browsers support WebRTC yet, but there's a lot of cool WebRTC stuff to play with -- PeerDB, etc. Is there any sort of shim for spoofing a WebRTC API in the browser (so that things like PeerDB will just work), but which actually…
themirror
  • 9,963
  • 7
  • 46
  • 79
4
votes
2 answers

Integrating WebRTC with XMPP server

I am developing a web application for video conference using XMPP and WebRTC. How to integrate WebRTC with a local XMPP server as a signaling server?
AntonyManoj
  • 157
  • 1
  • 2
  • 8
4
votes
1 answer

What is the WebRTC method reattachMediaStream used for?

I have been going over the WebRTC docs and I see two WebRTC methods where I am not sure I understand what the difference is: reattachMediaStream and attachMediaSource. attachMediaSource This I get, you use it to attach a MediaStream to something…
Bjorn
  • 69,215
  • 39
  • 136
  • 164
4
votes
1 answer

Web Audio API and WebRTC

Is it possible to getUserMedia... take the stream and process it with Web Audio API to run it through some filters and then send the processed audio to a peer using WebRTC? I have been scouring the web for such examples. I found plenty that use Web…
4
votes
2 answers

MediaStreamTrack.id change when using addTracks()

I'm using MediaStream API in a web app which allow multiple user to make à conf call based on webrtc. When I use MediaStream.addTracks() the id of my track (MediaStreamTrack) change. Here is a concrete example : getUserMedia.call(navigator,…
Tako
  • 661
  • 12
  • 34
4
votes
2 answers

How to build webrtc with ios objective c

I' m trying to build AppRTCDemom example from google webrtc source code, I'm following the readme file, but after trying this "gclient runhooks" I get: "key_id gyp variable needs to be set explicitly because there are multiple codesigning keys, or…
user1698738
  • 77
  • 2
  • 9
4
votes
1 answer

Streaming Media to Server using web socket

I am a newbie to WebRtc. I would like to send the media stream from client ( java script) to my server (via websockets). In my server I will be doing some processing on those media content. Could you please show me a client code snippet on sending…
Ganesh R
  • 123
  • 2
  • 10
4
votes
1 answer

Is there a way to specify which camera input type='file' should use?

I am using to get image input from the users camera. This is apparently the old way of doing it but that is what they want. Is there any way to specify that the front (or back) camera should be…
user1873073
  • 3,580
  • 5
  • 46
  • 81
4
votes
1 answer

Unable to run OpenTok's WebRTC demo

Recently I tried to use OpenTok's WebRTC demo for a web application requiring peer-to-peer video/audio communication. I went through the tutorials on http://www.tokbox.com/opentok/webrtc/docs/js/tutorials/ and…
ecr
  • 391
  • 1
  • 3
  • 7
4
votes
2 answers

P2P Video Confrencing using HTML5 or Javascript

I am trying to build video conferencing using html5 and javascript till now i am able to stream my camera capture and display it on canvas here is the code