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

Jitsi Videobridge Negotiation

I am trying to integrate Jitsi Videobridge into my existing WebRTC application. Right now the signaling is relatively straightforward, offer, answer, candidates and we're off and running. I cannot find straightforward documentation or tutorials on…
Ternary
  • 2,401
  • 3
  • 31
  • 54
26
votes
7 answers

how to make getUserMedia() work on all browsers

I learn about web-rtc, it says that you can capture video-cam , i used demo , well this worked on chrome only.. when i open it on firefox i get message "getUserMedia() not supported in your browser." on another hand when i open this…
Muath
  • 4,351
  • 12
  • 42
  • 69
26
votes
4 answers

How to self-host to not rely on WebRTC STUN server stun.l.google.com:19302?

I have just downloaded a video chat project. It uses a STUN server and specifies the URL stun:23.21.150.121. How can I use my own server instead of the STUN server? What do I have to enter instead of this URL?
Vicky
  • 1,412
  • 4
  • 18
  • 30
25
votes
1 answer

iOS 11 getUserMedia not working?

Apple released a statement that getUserMedia will be fully functional on iOS 11. After installing iOS 11 Beta version 5, I do get a message that my website requests access to my camera and microphone, but it seems that the line: video.src =…
Koby Douek
  • 16,156
  • 19
  • 74
  • 103
25
votes
7 answers

How can I use a MediaRecorder object in an Angular2 application?

I'm building a small Angular2 app and I'm trying to use a MediaRecorder object (https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder) like so: var mediaRecorder = new MediaRecorder(stream); However, TypeScript is telling me it cannot find…
millarnui
  • 549
  • 1
  • 6
  • 17
25
votes
2 answers

How to create stun turn server instance using AWS EC2

Actually i wants to use my own stun/Turn server instance and i want to use Amazon EC2 .If anybody has any idea regarding this please share with me the steps to create or any reference link to follow.
satya
  • 3,508
  • 11
  • 50
  • 130
25
votes
9 answers

How to control bandwidth in WebRTC video call?

I am trying to develop a Video Calling/Conferencing application using WebRTC and node.js. Right now there is no facility to control bandwidth during during video call. Is there any way to control/reduce bandwidth. (like I want make whole my web…
user2413226
  • 251
  • 1
  • 3
  • 3
25
votes
3 answers

always accept webRTC webcam request

I'm building a web application that uses the computer's webcam via webRTC. The site is only running on one specific machine which will shut down and reboot once a day. My problem is: how do I get the machine to automatically confirm the webcam…
broen
  • 371
  • 1
  • 4
  • 16
24
votes
2 answers

WebRTC channel reliability

I'd like to check my understanding of WebRTC data channels is correct, in particular the different types of channels that can be achieved by varying the ordered & maxRetransmits or maxPacketLifeTime properties to the RTCDataChannelInit dictionary.…
dbotha
  • 1,501
  • 4
  • 20
  • 38
24
votes
3 answers

What does 'sdparta' stand for in a Firefox webRTC session description?

When generating offer and answer objects during webRTC signaling in Firefox, Mozilla added a pun about Session Description Protocols by returning answers and offers that say "THIS_IS_SDPARTA." Aside from being funny, does the 'arta' portion of…
BEVR1337
  • 623
  • 4
  • 10
24
votes
2 answers

WebRTC pause and resume stream

I am trying to use WebRTC to build a web application that needs to pause/resume the video/audio stream when some events trigger. I have tried the getTracks()[0].stop() but I am not sure how to resume the stream. Are there any advice on that? thanks
Ev3rlasting
  • 2,145
  • 4
  • 18
  • 31
24
votes
3 answers

Get media details(resolution and frame rate) from MediaStream object

I am capturing the user's camera, i want to catch the picture with the best resolution possible, so my code is something like the snippet below, I want to read the resolution details from the incoming stream, so i can set it as video height and…
mido
  • 24,198
  • 15
  • 92
  • 117
23
votes
6 answers

How to use getUserMedia in Chrome for iOS

I am developing a simple application, in this I am trying to access camera and microphone using getUserMedia. Its working fine for me in desktop Chrome and Android Chrome but it's not working in iPhone and iPad Chrome. navigator.getUserMedia =…
Rao
  • 231
  • 1
  • 2
  • 3
23
votes
4 answers

How can I make Chrome allow access to a webcam over http (not https)?

I am building a kiosk application using webrtc video. It is only served on the internal network and I would like to be able to always allow the webcam for my site over http. Using ssl isn't that important and is just an extra expense for a cert. Is…
Dave_750
  • 1,225
  • 1
  • 13
  • 28
22
votes
2 answers

How to get WebRTC logs on Safari Browser

I have been trying to get the webrtc logs for my web application running over safari browser, similar to what we get in firefox by going to the page about:webrtc and on chrome by using chrome://webrtc-internals. Alternatively, Is there any js API…
Aagman
  • 684
  • 6
  • 18