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 to create HTML5 WebRTC peer connections with datachannels multiple peers?

I can create a peer connection and establish connection between two users, but I totally confused on working with multiple peers. How do I work multiple peers using a WebRTC datachannel?
kongaraju
  • 9,344
  • 11
  • 55
  • 78
4
votes
1 answer

Prevent Chrome Timers on Hidden Tabs Running at 1 Second Resolution

I read that timers on hidden tabs run with a resolution of 1 second. Thats realy a defect for me. With WebRTC browsers can build up a p2p network. For my application one of the peers functions as a server for the others. Now, if the peer whos the…
guenne
  • 53
  • 5
4
votes
1 answer

Insert web frame with WebRTC support in own application

We are about to extend an existing application based on Qt 5 to support video/audio-chat using WebRTC. We already tried to use the Qt 5.0.2 built-in QtWebkit widget without success as getUserMedia() seems to be invisible for JavaScript or is not…
Mythli
  • 5,995
  • 2
  • 24
  • 31
4
votes
2 answers

problems setting different resolutions with WebRTC

I'm trying to use WebRTC's getUserMedia functionality to take snapshots in video streaming from the user's camera. The problem is that I want to use a resolution of 640 X 480 working in Firefox 19.02, Opera 12.14 and Chrome 25.0.1364.172 versions…
user2158954
  • 231
  • 1
  • 3
  • 8
4
votes
3 answers

Does Phonegap support WebRTC?

I want to build an augmented reality app. I was thinking of using something like the Wikitude SDK here http://www.wikitude.com/developer or using this javascript library https://github.com/mtschirs/js-objectdetect js-objectdetect which I would…
user974725
  • 153
  • 2
  • 11
4
votes
2 answers

Using multiple USB cameras with Web RTC

I want to use multiple USB camera with Web RTC. For ex) https://apprtc.appspot.com/?r=93443359 This application is web RTC sample. I can connect to another machine, but I have to disconnect once to change the camera. What I want to is, 1.Use two…
whitebear
  • 11,200
  • 24
  • 114
  • 237
4
votes
1 answer

Record short audio file using WebRTC

In online social learning app, we want participants to be able to record short audio clips to share with others. Typically a recording will be a spoken word or a single sentence. I've been looking at WebRTC. I understand how to create and share an…
James Newton
  • 6,623
  • 8
  • 49
  • 113
4
votes
1 answer

Three.js using WebRTC and applying a Shader

I can't figure out how to apply a shader to a three.js object that has a video texture. I've been playing around with webRTC and three.js and successfully mapped a video texture onto a mesh using a standard material: var material = new…
Robbie
  • 563
  • 7
  • 19
4
votes
1 answer

Can someone explain the WebRTC API Documentation?

So I found this W3 article on WebRTC while looking for a way to make a video chatting program that works completely in browser without plugins (and noted that the MediaStream seems to only work in Chrome as far as I know). My question is fairly…
Patrick Roberts
  • 49,224
  • 10
  • 102
  • 153
4
votes
1 answer

Chrome packaged apps: Permission for getUserMedia() audio input

I'm porting my web app over to a Chrome packaged app and I heavily use the Web Audio API (which works great), but I use getUserMedia() to get line in audio. Normally a status bar comes down asking for permission from the user. In a packaged app…
4
votes
3 answers

WebRTC AEC on Android

I'm developing a SIP softphone app for Android, and facing the echo cancellation problem. I've tried to solve it using Speex with no success. So my next shot is WebRTC AEC (Acoustic Echo Cancellation), but I cannot find any documentation about how…
dbautista
  • 121
  • 1
  • 1
  • 5
4
votes
1 answer

Is WebRTC available in Chrome 21 for iOS?

I'm trying to find any information if GetUserMedia is enabled on Chrome 21 running on iPad or iPhone without success. I know that peerConnection is still available only on Chrome Canary or in regular Chrome but with flag switched. As far as I know…
Episodex
  • 4,479
  • 3
  • 41
  • 58
4
votes
2 answers

Is it feasible to use WebRTC PeerConnection for video conferencing with more than two participants?

I've been playing with WebRTC and reading about the way it works, but I'm still quite ignorant of what's really going on under hood when it comes to peer connections. The way that the streams are routed, won't it choke if there's too many…
Greg
  • 7,782
  • 7
  • 43
  • 69
4
votes
1 answer

Why localStreams contains LocalMediaStream and remoteStreams contains MediaStream?

localStreams and remoteStreams both are of type “MediaStreamList”. localStreams contains “LocalMediaStream” objects However, remoteStreams contains “MediaStream” objects Why so difference? When I use “localStreams” – it works for me: localVideo.src…
Muaz Khan
  • 7,138
  • 9
  • 41
  • 77
4
votes
1 answer

WebRTC In Android

I downloaded the open source code of webRtc.In side that I found the WEbRTCDemo test project for Android.I am able to generate the APK BUt when I install it my device not Able to communicate with both device.... Steps What I am doing.. 1. In…
KRISHNA
  • 103
  • 3
  • 9