Questions tagged [peer-connection]

A peer connection in WebRTC is a connection between the local computer and a remote peer.

The RTCPeerConnection interface provides methods to connect to a remote peer, maintain and monitor the connection, and close the connection once it's no longer needed.

Each peer connection holds a local description object and a remote description object, describing the two ends of the connection as they were most recently successfully negotiated.

57 questions
1
vote
0 answers

WebRTC Answer SDP returns recvonly instead of sendrecv

I have a web based WebRTC client and I am having the following functionality: Step 1. CreateOffer with both audio and video tracks set to sendrecv. Step 2. Receive and Answer with both audio and video tracks set to sendrecv. Peer to Peer A/V calls…
1
vote
0 answers

react-native-webrtc unable to create RTCPeerConnection

I am trying to create a basic RN app with react-native-webrtc, but I am unable to create a RTCPeerConnection class instance. import {RTCPeerConnection} from 'react-native-webrtc'; const App: () => React$Node = () => { const configuration = {…
artberry
  • 791
  • 2
  • 7
  • 18
1
vote
1 answer

Real time video

There is a lot of information scattered over the internet, but it is hard to find something concrete The question is what is the best modern way to create a live, low latency solution for video streaming What solutions are being used for products…
Guy Levin
  • 1,230
  • 1
  • 10
  • 22
1
vote
0 answers

WebRTC issue - Hololens unable to send video offer

we developed a fully working webRTC UWP environment starting from this project (https://github.com/webrtc-uwp/PeerCC/tree/Mosa/20180320-peercc-unity). We developed a Desktop app and a HoloLens app to communicate with each other. Everything was good…
Franz
  • 11
  • 3
1
vote
1 answer

WebRtc Native-Crashed when I call peerconnection->Close()

How to close or destruct a PeerConnectionInterface object? It crashed when I'm trying to do so. I have an object declared like this: rtc::scoped_refptr _peerConnection; It works fine after I create the…
Longer.L
  • 45
  • 6
1
vote
0 answers

RTCPeerConnection API with Multiple peers

I have a complex logic code built in order to make a group chat between more than 2 peers by using RTCPeerConnection API. The simulation of what happens exactly as follow: Let say we have 3 peers A, B, and C, the connections created from A to B and…
Suhayb
  • 11
  • 2
1
vote
1 answer

How to make a turn server on node.js for peer connection

I'm using a node.js server to send iceCandidates and connect two computers by peer connection (javascript). I want to use TURN-server as iceServer, but I don't have one, so I want to make TURN-server on my server. How is it possible?
Vyacheslav
  • 99
  • 3
  • 8
1
vote
3 answers

What's missing in Answer SDP (From web browser to android device)

I've customized Apprtc project. i can call from an user and other user can answer call or reject call When I call from android to web browser, I can't See video source of web browser in android device but I can see video source of android in web…
Saeed
  • 572
  • 2
  • 7
  • 19
1
vote
0 answers

gdb load debug-info failed, get Dwarf Error when I debug webrtc peerconnection_client

Now, I build out peerconnection_client of google webrtc project. But, when input command: gdb out/Default/peerconnection_client, I get error: Reading symbols from /opt/dada/src/webrtc/native/src/out/Default/peerconnection_client...Dwarf Error:…
Janu zhou
  • 31
  • 6
1
vote
0 answers

serverconnection.onmessage=gotMessageFromServer never called after createOffer

I'm trying to connect to a browser for video chat using WebRTC and websockets. I'm able to createoffer, get the ice candidates but the function (where I expect a remote stream response) serverconnection.onmessage is never called. in my…
CN1
  • 93
  • 1
  • 1
  • 6
1
vote
2 answers

How to establish peer connection in web app using coturn (stun/turn) server

I'm building a web app for cam broadcasting. I'm using Django for web app and coturn as (STUN/TURN) signalling server. My goal is to do it with WebRTC. I don't know how to connect a peer to the signalling server in order to be reachable by other…
serfer2
  • 2,573
  • 1
  • 23
  • 17
1
vote
1 answer

WebRTC DataChannel buffered full

At first, I hope you understand that I'm not good at english. For file transfer, in Mesh topology, in Chrome, When buffered amount is 16MB, the channel is closed with an error message. "Uncaught NetworkError: Failed to execute 'send' on…
user5270997
1
vote
2 answers

Does PeerJS or WebRTC peer connection require a server or it's only between clients?

I'm working on a project which should allow users to connect with one another (1 on 1) and chat via the website. If I go with the http://peerjs.com/ implementation or another custom solution for WebRTC peer connection, will I need a server to broker…
DecafJava
  • 479
  • 2
  • 7
  • 19
1
vote
1 answer

peerconnection_client does not show the list of peers

Here I'm trying to run some of samples available in the WebRTC codes... I run the peerconnection_server.exe on my machine (laptop, running Windows 8.1) it successfully runs. I also run 2 clients via the peerconnection_client.exe. On the…
L_A_Hooper
  • 81
  • 1
  • 9
0
votes
0 answers

WEBRTC screen sharing : onnegotiationneeded event

I encounter a problem when I want to add a screenshare to my PeerConnection. Indeed, I use the pc.addTrack(...) function which leads to a renegotiation of my PeerConnection (onnegotiationneeded). Here is what I do in my onnegotiationneeded…