Questions tagged [signaling]

56 questions
31
votes
5 answers

Native Android WebRTC application development

I am trying to create an android application for video chat and messaging by using WebRTC Native APIs. I have been through several links and found out that most of the documentation for android is vague, specially if you dont know where to start…
Ahmed
  • 2,966
  • 7
  • 42
  • 69
26
votes
2 answers

Failed to set local answer sdp: Called in wrong state: kStable

for a couple of days I'm now stuck with trying to get my webRTC client to work and I can't figure out what I'm doing wrong. I'm trying to create multi peer webrtc client and am testing both sides with Chrome. When the callee receives the call and…
Eric Xyz
  • 452
  • 1
  • 5
  • 14
9
votes
2 answers

WebRTC: RTCDataChannel is not 'open'

I followed an entire tutorial about WebRTC and implementing a simple p2p chat. My signaling server is working aside on localhost:9090. When I try to send a message, I am receiving: RTCDataChannel.readyState is not 'open' However, the connection…
Arkon
  • 2,648
  • 6
  • 26
  • 46
8
votes
1 answer

A complete example for a WebRTC datachannel with manual signaling

I'm really struggling to get a complete example of a WebRTC datachannel example that I can copy/paste and it works. I would like a JavaScript example of WebRTC datachannel with manual signaling, i.e., when the example loads, it provides the…
khalidsafir
  • 165
  • 1
  • 9
7
votes
0 answers

How do I do WebRTC signaling using AJAX and PHP?

I'm new to WebRTC and I don't understand how the signaling works on the server side. I know the request must be two-way. I'm able to send an offer to a PHP page but from there I'm stuck.. How does the other peer pick that offer so that it can…
PhilipKim
  • 99
  • 4
6
votes
2 answers

Sequence of offer/answer in WebRTC P2P mesh topology

I am using a web socket server (node JS) to act as a signaling server. I want to create a P2P mesh network - everyone is connected to each other. What would be the order of operations/events when: The 1st peer joins The subsequent peers join Do…
nodesto
  • 505
  • 2
  • 8
  • 24
6
votes
2 answers

WebRTC local signaling server

I am trying to figure out a solution for a signaling server for an Android WebRTC based project. Both clients will be Android and both located close to each other, i.e. - within 100 yards or less. I would like the solution to work without the use…
Sofia Clover
  • 669
  • 1
  • 7
  • 18
4
votes
0 answers

Peer-to-Peer (P2P) Communication Between VoIP Clients?

I'm looking for a solution to exchange information using (UDP or TCP) between ** NAT ** separated android terminals or nodes, let's assume A and B are two android clients. I am working on a " remote VoIP application " in which clients are directly…
Muhammad Usman Bashir
  • 1,441
  • 2
  • 14
  • 43
4
votes
2 answers

PeerConnection: make a call in local network

I'm playing around with WebRTC, and what I'd like to achive is: User1 opens the browser at 192.168.x.x User2 opens the browser at 192.168.x.x The same page User 1 clicks call, user2 displays the stream on his screen. I've created a signaling server…
Manza
  • 3,427
  • 4
  • 36
  • 57
3
votes
1 answer

WebRTC - Find out MediaStreamTrack Type?

I want to find out if the VideoTrack contains a screenshare or webcam stream. I can't find any attribute and also no fitting contraint I could apply to the track and read out later. Someone knows a smart way to do that? I want to avoid sending the…
Cracker0dks
  • 2,422
  • 1
  • 24
  • 39
3
votes
3 answers

Is there an application-agnostic signaling protocol?

Is there an application-agnostic signaling protocol? The use case is this. We have an open-source library for a multi-agent system that supports several protocols of the application layer of the OSI model. On the moment HTTP, XMPP, and ZeroMQ are…
Anne van Rossum
  • 3,091
  • 1
  • 35
  • 39
3
votes
1 answer

Creating a channel for webRTC video chat

I've been following the HTML5rocks webRTC guide and I have the Javascript set up as described, however the guide is not clear on how to receive a channelToken, roomKey, and User ID. The guide says, "Note that values used in the JavaScript, such as…
user1890615
2
votes
2 answers

exec as a pipeline component

For our application running inside a container it is preferable that it receives a SIGTERM when the container is being (gracefully) shutdown. At the same time, we want it's output to go to a log file. In the startscript of our docker container, we…
PalatinateJ
  • 183
  • 1
  • 1
  • 10
2
votes
2 answers

Running an application with WebRTC within a local network that doesn't have internet access

I'm looking to use WebRTC in a project where I need to livestream video from one computer, a robot with a wifi hotspot and USB camera, over a local network to another computer, a controller for the robot. Both computers in this case are single board…
2
votes
2 answers

How to do screen sharing with simple-peer webRTC SDK

I'm trying to implement webrtc & simple peer to my chat. Everything works but I would like to add screen sharing option. For that I tried that: $("#callScreenShare").click(async function(){ if(captureStream != null){ …
johannb75
  • 357
  • 5
  • 16
1
2 3 4