Questions tagged [rtcpeerconnection]

140 questions
0
votes
1 answer

How to use RTCPeerConnection to create an offer to share between peers for video calling

I would like to know where I can find documentation about the Agora RTCPeerConnection. I have written the following code to create and share offer between two peers: peerConnection = new RTCPeerConnection(servers); let offer=…
0
votes
0 answers

Peer Connections onicecandidate is returning NULL for candidates always

I am trying to get the group video call to work using WebRTC in React Native application. The offers, local description and remote description part is working correctly. However, oniceCandidate function is always returning null for Candidate. The…
0
votes
1 answer

React native group video call using webrtc displaying remote stream as black screen

I have an React Native application that includes group video call. I am using 'RTCPeerConnection' from 'react-native-webrtc' package. On page load, I have initiated local stream and sockets for offers, answers and icecandidate. When a user click…
0
votes
1 answer

how to know RTCDatachannel's current connection type: host/srflx/prflx/relay?

when local RTCDatachannel connected to remote RTCDatachannel, I wanna to konw the connection type: host/srflx/prflx/relay.. I try to parse the following string, but it's not the current one which is…
user558185
  • 291
  • 3
  • 2
0
votes
0 answers

ICE Connection Failed on Android when subscriber drops the call

I am using Janus-Android-Gateway of Crossle for WebRTC Videoroom calling. Call is working fine. Only problem is ICE Connection failure when any opponent peer or subscriber leaves the call. ICE Connection gets disconnected for that peer. Which is…
Sajid Zeb
  • 1,806
  • 18
  • 32
0
votes
0 answers

createDataChannel stuck in never ending "connecting" readyState for Latest Chrome browser

When connecting to a peer using createDataChannel... peer.dataChannel = peer.connection.createDataChannel("data", { negotiated: true, id: connection_id}); The connection remains in a perpetual readyState of "connecting" and never reaches the "open"…
0
votes
0 answers

How to connect with external WebSocket connection in WebRTC - Sipsorcery Library C#

I was going through Sipsorcery WebRTC C# library, FFmpegFileAndDevicesTest. In this code a websocket server is being created and the PeerConnection is added to the websocket. Is there any way to connect to an external websocket server instead of…
Basidh
  • 22
  • 4
0
votes
0 answers

The WebSocket connection is being terminated every minute when attempting to establish a live stream from Wowza

We utilize the Wowza platform to obtain the live stream, and within the Angular framework, we leverage the inherent websockets and RTC PeerConnection class to facilitate the receipt of the live stream into the Angular application via the secure wss…
0
votes
0 answers

When is RTCPeerConnection's ontrack event triggered?

The reasons I'm confused are: When my media stream is detected: My camera or microphone permission is allowed. When an offer is set in my local SDP using setLocalDescription When receiving the other party's answer and registering as Remote SDP…
신주영
  • 1
  • 1
0
votes
1 answer

navigator.mediaDevices.getDisplayMedia does not show the current tab

My JS has the following: var displayMediaOptions = { video: { cursor: "always", height: 300, width: 300 }, audio: false } var configuration = { "iceServers": [{ "url":…
TenG
  • 3,843
  • 2
  • 25
  • 42
0
votes
0 answers

Flutter: Using twilio as turn server with webRTC

# 'java.util.List org.webrtc.PeerConnection.getTransceivers()' on a null object reference" I am creating a screen mirroring application using twilio as a turn server with web rtc. When I call mirrorScreen() The error: Attempt to invoke virtual…
0
votes
1 answer

How to get an RTCPeerConnection with audio&video bundle instead of 0&1

I am attempting to connect to an old WebRTC server, and it requires the sdp offer to contain "group:BUNDLE audio video", instead of the "group:BUNDLE 0 1" that modern day browsers have. Example start of sdp in browser: v=0\r\no=- 508130462041170902…
J.V
  • 7
  • 6
0
votes
1 answer

WebRTC adding remote streams using pc.ontrack not working

I am trying to setup a webrtc peerconnection, but on receiving remote tracks no video or audio is playing in the html video element. I think the issue is with multipal tracks that I am receiving, a total of 4 with 2 video and 2 audio tracks, Images…
0
votes
1 answer

WebRTC with SFU using so many PeerConnection as Consumer in Group call?

I'am develop group call like google meet using WebRTC and SFU method for routing. my project work well, until i open chrome://webrtc-internals to see webrtc connection status. and i compare with google meet. Google meet only 1 peer connection is…
mamena tech
  • 496
  • 5
  • 16
0
votes
0 answers

how to initialization webrtc Native Android client peerconnection (C++)

I am trying to create an application that uses webrtc data channels, to create a peer connection to an existing server. The client must run a native application on android (no Java of any kind, JNI might be acceptable though if it is the only way,…