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

How to capture the screen through Cordova application?

Hi I tried below getUserMedia API to capture the android screen,But Its not working any help ? const constraints = { audio: false, // mandatory. video: {'mandatory': {'chromeMediaSource':'screen'}} }; const successCallback = (stream) => { var video…
Sandeep Ks
  • 504
  • 3
  • 13
3
votes
0 answers

Networked Aframe - Screen Sharing Bug

While developing a multi-user VR room with networked-aframe, i run into a bug with the screen sharing option simmilar to the one in the file: /examples/basic-multi-streams.html I've tried different approaches and tests but couldn't get that one…
3
votes
1 answer

webRTC - Video conferece multiple rooms

I'm using Pion SFU-WS, basically a golang based webRTC application Pion- SFU. Although things work like a charm, I'm clueless about how to run multiple conferences (like we know from Microsoft Teams or Zoom). Here is an example of what I'm trying to…
Odd
  • 563
  • 8
  • 20
3
votes
1 answer

Is there a way to connect two browsers without WebRTC?

I want to create a Peer to Peer connection with two browsers without using existing code (mostly). I want to implement the server infrastructure by myself, as well as the client code. There is just one issue, WebRTC seems to be everywhere. Don't get…
3
votes
1 answer

Flutter webrtc screen sharing

I have a flutter project (iOS, Android) that uses WebRTC. I need to send video from camera (working correctly) and screen capture by WebRTC. How to share the screen on WebRTC with the flutter_webrtc package?
3
votes
1 answer

Is it possible to make a video call over websocket on the web without using WebRTC?

I want to stream video (with audio) over websocket in one direction without using STUN/TURN server. Is it possible to write such a web app? Data will flow like this: Peer A -> Websocket Server -> Peer B
Faruk CEBECİ
  • 33
  • 2
  • 4
3
votes
2 answers

android WebView play audio through earpiece or Bluetooth

I'm developing a voice call app using peer.js and WebView. My intention is to play the remote stream through the earpiece or Bluetooth headphones(If connected). And there should be an option to switch to the loudspeaker as well. I tried the…
Sujith S Manjavana
  • 1,417
  • 6
  • 33
  • 60
3
votes
0 answers

Is there a way in iOS to play a WebRTC "call" as a "media" sound?

I'm currently developing an app using WebRTC for live-streaming. However, when the connection is made, WebRTC per default is interpreted as a call by the iOS device. This implies a lot of audio-related unintuitive behaviours for my users. (Sound…
3
votes
1 answer

How to use "webrtc.lib" static library in VS 2019 or CLion Project?

I have been working with WebRtc Development for the Windows Platform. I want to develop webrtc based desktop application. I am doing it from scratch for learning and better understanding. The normal process of WebRtc Library Compilation: I have…
Muhammad Usman Bashir
  • 1,441
  • 2
  • 14
  • 43
3
votes
1 answer

webrtc video chat doesn't work when 3rd person joins the chat

im trying webrtc for the first time for a video chat app , i want up to 3 person in each chat ... my code works fine with 2 person chat but as soon as 3rd person joins the chat everything goes wrong ... i get multiple video tags in the page and…
hretic
  • 999
  • 9
  • 36
  • 78
3
votes
2 answers

Is a single TURN server sufficient for two devices behind restricted NAT configurations?

Let's assume two devices are behind symmetric NATs. Device_1 ONLY gathers HOST and REFLEXIVE candidates. It sends them to Device_2 in an SDP OFFER. Device_2 gathers HOST, REFLEXIVE and RELAY candidates. It sends them to Device_1 in an SDP…
Mmm Donuts
  • 9,551
  • 6
  • 27
  • 49
3
votes
0 answers

iOS remote video freezes when using webrtc RTCMTLVideoView

I made a very simple app using google webrtc using cocoapod (version 1.1.31999). The signaling and the tracks are fine. I'm testing on iPhone 11 and the remote video just randomly freezes for 5-10 seconds then unfreezes. Looks like some threading…
Ross Stepaniak
  • 877
  • 1
  • 6
  • 22
3
votes
0 answers

WebRTC Flutter: Recording of stream to file with audio

I've been trying to record WebRTC stream with the help of library flutter_webrtc-0.6.3. Recording video only works perfectly well, but recording with specified audio channel (either INPUT or OUTPUT) seems to crash my app. Interestingly, when…
tosemite
  • 31
  • 3
3
votes
3 answers

WebRTC on Kubernetes cluster

I have a dedicated server build of a in-development realtime multiplayer game that I'd like to run on a Kubernetes cluster. The game uses WebRTC RTCDataChannels for network communication as it targets browsers. When running the game server on a…
dbotha
  • 1,501
  • 4
  • 20
  • 38
3
votes
0 answers

Camera doesn't capture media stream in WebRTC Android

I'm developing a native WebRTC android application, in my previous project I did just fine with these options, but now I'm unable to receive media stream when I publish my media, here is my code: void startLocalVideoCapturing() { …
Nam V. Do
  • 630
  • 6
  • 27