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

microphone not working while share screen + system audio shared using peerjs webrtc

We have tried to share screen audio. When sharing the screen, microphone and screen-sharing audio do not work together. Mic does not work when system audio is on. System audio does not working if end mic is on. please explain me what is the about…
Raj Kanani
  • 79
  • 1
  • 8
3
votes
1 answer

WebRTC connection between two android emulators forces them to use RELAY TURN

I'm trying to implement some WebRTC calls on my android devices. I have two emulators and one physical device. My signalling server is located on the public network. When I connect android emulator and physical device, this is the only string i…
nutella_eater
  • 3,393
  • 3
  • 27
  • 46
3
votes
1 answer

sdp: The order of m-lines in subsequent offer doesn't match order from previous offer/answer

**i am using React Native and getting these two errors in my console log : Failed to set local offer sdp: The order of m-lines in subsequent offer doesn't match order from previous offer/answer. Failed to set remote answer sdp: Called in wrong…
user19434921
3
votes
0 answers

WebRTC replaceTrack won't work for audio unless I replace video too

I am building a Video Chat app with WebRTC. Basicly, users exchange SDP and ICE candidates over Node.js socket server. Users exchange dummy video and audio tracks initially, then replace the tracks as users toggle their audio and video. Users are…
3
votes
1 answer

Web MediaRecorder API : concatenating video chunks end-pads with blank video

I have working code (below) that concatenates the first and last chunk of video recorded from the browser. Chunks are collected every three seconds, and the resultant downloaded video does indeed play the first and last chunk in sequence. However,…
3
votes
0 answers

How to use playoutDelayHint and jitterBufferDelayHint in a Native WebRtc Java project

I'm currently using a self compiled WebRtc lib for my Android project and I try to get lowest latency for game streaming/ cloud gaming. I found out that on browsers you can use playoutDelayHint and or jitterBufferDelayHint to fine tune latency and…
grill2010
  • 574
  • 6
  • 23
3
votes
1 answer

Can I mute the other party's voice with livekit?

I develop meeting applications with React and livekit. I want to mute the voices of other users in the room, is there a good way to do this?
figalo66
  • 155
  • 6
3
votes
1 answer

flutter webrtc RTCPeerConnection.addStream not working

Friends, I want to develop an application for Flutter using webrtc, but unfortunately I am facing problems that I am not able to solve. errorCode: AddStream is not available with Unified Plan SdpSemantics. Please use AddTrack…
3
votes
0 answers

Issue sending & receiving streams between two clients in LiveKit's React Native SDK

I'm trying to build on the example app provided by livekit, so far I've implemented everything like the example app and I've been successful with connecting to a room on example website, I recieve audio from website, but I don't read the video…
Alaa Mady
  • 41
  • 1
  • 1
3
votes
0 answers

Peerjs call.on "stream" event isn't firing but peer.on "call" is

I am trying to create a node+socket.io+express+peerjs application for voice chat. The problem I am facing is that I cannot access the stream of the connected peer since the call.on("stream") is not firing for some reason. I have tried to manipulate…
Ivan Griga
  • 33
  • 4
3
votes
1 answer

Webrtc screen sharing video stream not rendering first time after boot

I'm using Webrtc to share a PC's desktop (browser doesn't matter: Chrome/Firefox/Edge) with a Intel Nuc running Ubuntu 22.04.1 and Firefox 107, in the same LAN. The Nuc is used as a kiosk, and autostarts Firefox at a given URL. Web pages and…
fre_der
  • 83
  • 10
3
votes
1 answer

Does WebRTC make sense for low-latency streaming over local network?

I am developing a python application where a drone and a computer communicate over local network (wifi). My need is to stream the drone's camera to OpenCV-python on the computer with the lowest possible latency at the highest possible…
3
votes
2 answers

How implement WEBRTC with flutter Bloc pattern

I have a flutter app and I need to get the video stream from a smart device the device actually returns this data { moto_id: 'moto_usprod001', auth: 'XX/XL?EF?OL/XXX', icesServers: [ { urls: 'stun:44.240.73.31:3478' }, { urls:…
Boutghat Oualid
  • 401
  • 5
  • 9
3
votes
0 answers

Android 11 - Webrtc VOIP calls are not working with browser or desktop app. Same is working with Android 10

Good day team!!! I am developing a calling system, In this case we are working on Android, IOS and web/Desktop platforms. Audio and Video calls were working fine for Android, IOS and Web/Desktop. Until I have upgraded the Android API level to 30…
3
votes
0 answers

How do I rescue my WebRTC connection when my SDP offer is swallowed?

I'm using AWS Kinesis Video Signalling Channels to set up a WebRTC connection, with help from the Amazon Kinesis Video Streams WebRTC SDK for JavaScript (on whose repo I have cross-posted this question:…