Questions tagged [libnice]

Libnice is an implementation of the IETF's Interactive Connectivity Establishment (ICE) standard (RFC 5245) and the Session Traversal Utilities for NAT (STUN) standard (RFC 5389). It provides a GLib-based library, libnice and a Glib-free library, libstun as well as GStreamer elements.

Wiki page: http://nice.freedesktop.org/

Reference docs: http://nice.freedesktop.org/libnice/

github: https://github.com/libnice/libnice

20 questions
9
votes
2 answers

AS_IF and AC_MSG_ERROR: error: possibly undefined macro

I encounter such errors when trying to build libnice-0.1.10. For solution, I am following possibly undefined macro: AC_MSG_ERROR, but still not getting there. some program version uname: 3.5.0-23-generic m4: 1.4.16 automake: 1.14.1 autoconf:…
user180574
  • 5,681
  • 13
  • 53
  • 94
5
votes
0 answers

Video streaming through libnice and gstreamer

I want to stream video from IP camera to remote PC which is behind the NAT. For this purpose i am using, libnice and gstreamer. On one end, I have implemented the below pipeling. rtspsrc <-> nicesink Remote client pipeline nicesrc <-> rtph264depay…
Jagdish
  • 1,848
  • 3
  • 22
  • 33
4
votes
2 answers

Events not reaching kurento java server

I'm new to Kurento media server, I am trying to send an event from kurento media server to the java application which I have. I have created an event using the following steps: edited the interface json file: "events": [{ "properties": [{ …
Sagar Pilkhwal
  • 3,998
  • 2
  • 25
  • 77
3
votes
2 answers

Kurento WebRTC Connection Fails in ~30% of Cases

I have spent days hunting down a connection problem without any luck. I'm trying to implement a relatively simple one2one Call with Kurento. Below you will find a debug log of Kurento of a case where the connection could be established and a case…
omnibrain
  • 533
  • 2
  • 6
  • 18
3
votes
2 answers

How does STUN perform ICE connectivity check on Candidate Pairs?

I have gone through RFC 5389 and RFC 5245 and the newer RFC 8445. I understand how STUN works in returning the Server Reflexive Address or Relayed Address. The request is sent to the STUN server. My fundamental question is about ICE connectivity…
asinix
  • 966
  • 1
  • 9
  • 22
3
votes
1 answer

ICE_ADD_CANDIDATE_ERROR while making connection

I have got the latest version of Kurento media server v6.4.0 and when I'm trying to make connection with kurento it is returning an error { [Error: Error adding candidate] code: 40401, data: { type: 'ICE_ADD_CANDIDATE_ERROR' } } Kurento working…
Akshay Rathore
  • 819
  • 1
  • 9
  • 23
3
votes
1 answer

Compiling libnice for Android

I'm trying to compile libnice (v0.18 to be specific) for Android, but have run into some troubles. How can I compile libnice for Android? I have listed my attempts so far below. 1st Attempt My first try was using a custom Android.mk makefile but I…
Managarm
  • 1,070
  • 3
  • 12
  • 25
2
votes
1 answer

Chrome appears to create workable local ICE candidates even when STUN/TURN servers are down--can I use them somehow?

I'm using the chrome://webrtc-internals/ URL to debug our WebRTC application behavior when the STUN/TURN servers are down. One interesting thing I'm noticing is that under "Stats Tables" there appear to be good, "peerreflexive" local ICE candidates…
mpr
  • 3,250
  • 26
  • 44
2
votes
0 answers

KMS crashed while one to many broadcasting with error segmentation fault in KMS error.log

We were broadcasting video call among 24 students with one presenter and initially, everything was going well but after 30 mins KMS crashed. We didn't get any node js error on our server. Kurento was taking very high CPU. There were some errors in…
Manoj Verma
  • 141
  • 1
  • 10
1
vote
0 answers

libnice simple-example.c crash

I am developing a P2P App for a IOT project, I have researched the subject for months, I know C and C++ languages,(Reason why im not using webRTC or libp2p) Im trying to run Libnice simple-example.c…
Lucas
  • 11
  • 2
1
vote
0 answers

Using Libnice for Android

I need to implement libnice on Android. I'm aware of a couple of partial posts on this topic. However, with all the dependencies that libnice requires, I wasn't sure how to go about including, compiling and accessing all the libraries necessary for…
androidDeving
  • 75
  • 1
  • 7
1
vote
0 answers

Kurento Media Server 6.4 segmentation fault in libnice

I am using latest Kurento Media Server (6.4) and node.js app for one-2-one calls. However, Kurento process crashes from time to time inside libnice: (multiple crashes point to the same lib entries) Segmentation fault (thread 139888166897408, pid…
Yarik
  • 398
  • 4
  • 12
1
vote
1 answer

Build libnice version 0.1.5 and above on Win32

I followed this instruction: https://github.com/jcaden/libnice/blob/master/README.win32 in order to port libnice on Win32. Everything works correctly with version 0.1.4. However, when I tried to port libnice version 0.1.5 and above, I encountered…
Minh Ho
  • 123
  • 1
  • 11
1
vote
0 answers

GLib syntax errors, while compiling libnice with latest GLib for win32

Some necessary background: Libnice (p2p library) was meant to be compiled using 2.28 Glib (here's win32 compilation readme https://github.com/jcaden/libnice/blob/master/README.win32), BUT the official example (this one…
Max Yari
  • 3,617
  • 5
  • 32
  • 56
0
votes
1 answer

Is there any reliable document or RFC on ICE Lite implementation?

ICE protocol was updated in RFC 8445. ICE lite predates that RFC. The details on ICE Lite in RFC 8445 is provided in Appendix A. It is very sketchy. However, way back in 2007, an attempt was made to formalize what ICE Lite was. That was in this…
asinix
  • 966
  • 1
  • 9
  • 22
1
2