[Nice] libnice vs Numb

ly tran congly85 at yahoo.com
Thu Oct 4 02:34:26 PDT 2012


Sorry, It's my fault.
My video call can work with sofia-sip and libnice now.

Thanks for your support.

________________________________
 From: Youness Alaoui <youness.alaoui at collabora.co.uk>
To: Simon Perreault <simon.perreault at viagenie.ca> 
Cc: Marc Blanchet <marc.blanchet at viagenie.ca>; "nice at lists.freedesktop.org" <nice at lists.freedesktop.org>; ly tran <congly85 at yahoo.com> 
Sent: Thursday, October 4, 2012 4:22 AM
Subject: Re: [Nice] libnice vs Numb
 
Hi,

I can confirm that the Numb server works fine with libnice.

I have attached a log file of test-fullmode running with TURN setting to numb,
which shows that it works properly and is successful (all I had to do was enable
TURN, disable LOOPBACK and update the ip address of the server and recompiled
test-fullmode, it was successful).

Iy Tran, I'm not sure why it's acting that way, make sure you have the latest
version of libnice and you call set_relay_info correctly.

p.s: Thank you to the Viagenie guys, Mark and Simon for the support on this and
for providing the Numb server to the world.
As this issue does not concern Viagenie anymore and seems to be related to your
usage of libnice (or to libnice itself), Iy please reply to the mailing list
only, as to avoid bothering their inbox with unwanted mail.

Thanks,
Youness.

On 10/03/2012 08:41 AM, Simon Perreault wrote:
> Le 2012-10-02 23:36, ly tran a écrit :
>> I already test it, but It seem to be the same as yesterday.
>> I cannot gather relay candidate.
>>
>> Please let me know if you test successful.
> 
> I don't know what to tell you guys. Numb works for me. You'll have to provide
> some details if you want us to investigate.
> 
> Here's a test run with pjsip's icedemo:
> 
>> [simon at porto x86_64-unknown-linux-gnu]$ ./icedemo -t numb.viagenie.ca -u
>> simon.perreault at viagenie.ca -p ********
>> 08:36:51.611 os_core_unix.c !pjlib 2.0.1 for POSIX initialized
>> 08:36:51.612          pjlib  select() I/O Queue created (0x20ce3a8)
>>
>> +----------------------------------------------------------------------+
>> |                    M E N U                                           |
>> +---+------------------------------------------------------------------+
>> | c | create           Create the instance                             |
>> | d | destroy          Destroy the instance                            |
>> | i | init o|a         Initialize ICE session as offerer or answerer   |
>> | e | stop             End/stop ICE session                            |
>> | s | show             Display local ICE info                          |
>> | r | remote           Input remote ICE info                           |
>> | b | start            Begin ICE negotiation                           |
>> | x | send <compid> .. Send data to remote                             |
>> +---+------------------------------------------------------------------+
>> | h |  help            * Help! *                                       |
>> | q |  quit            Quit                                            |
>> +----------------------------------------------------------------------+
>> Input: c
>> 08:36:53.767        icedemo  Creating ICE stream transport with 1 component(s)
>> 08:36:54.019        icedemo  .Comp 1: host candidate 206.123.31.123:43619 added
>> 08:36:54.020        icedemo  .Comp 1: host candidate 10.116.99.1:43619 added
>> 08:36:54.020 udprel0x20d50d  .TURN client session created
>> 08:36:54.020 udprel0x20d50d  .Resolving numb.viagenie.ca with DNS A
>> 08:36:54.020 udprel0x20d50d  .State changed Null --> Resolving
>> 08:36:54.020        icedemo  .TURN client state changed Null --> Resolving
>> 08:36:54.435 udprel0x20d50d  .State changed Resolving --> Resolved
>> 08:36:54.435        icedemo  .TURN client state changed Resolving --> Resolved
>> 08:36:54.435 udprel0x20d50d  .Connecting to 66.228.45.110:3478
>> 08:36:54.435 udprel0x20d50d  .State changed Resolved --> Allocating
>> 08:36:54.435        icedemo  .TURN client state changed Resolved --> Allocating
>> 08:36:54.435 udprel0x20d50d  ..TX 44 bytes STUN message to 66.228.45.110:3478:
>> --- begin STUN message ---
>> STUN Allocate request
>>  Hdr: length=24, magic=2112a442, tsx_id=000002136a064ea311caadb9
>>  Attributes:
>>   REQUESTED-TRANSPORT: length=4, value=285212672 (0x11000000)
>>   SOFTWARE: length=12, value="pjnath-2.0.1"
>> --- end of STUN message ---
>>
>> 08:36:54.435 stuntsx0x20d8a  ..STUN client transaction created
>> 08:36:54.435 stuntsx0x20d8a  ..STUN sending message (transmit count=1)
>> 08:36:54.435        icedemo  .Comp 1: TURN relay candidate waiting for allocation
>> 08:36:54.435        icedemo  .ICE stream transport created
>> 08:36:54.435      icedemo.c  ICE instance successfully created
>>
>> +----------------------------------------------------------------------+
>> |                    M E N U                                           |
>> +---+------------------------------------------------------------------+
>> | c | create           Create the instance                             |
>> | d | destroy          Destroy the instance                            |
>> | i | init o|a         Initialize ICE session as offerer or answerer   |
>> | e | stop             End/stop ICE session                            |
>> | s | show             Display local ICE info                          |
>> | r | remote           Input remote ICE info                           |
>> | b | start            Begin ICE negotiation                           |
>> | x | send <compid> .. Send data to remote                             |
>> +---+------------------------------------------------------------------+
>> | h |  help            * Help! *                                       |
>> | q |  quit            Quit                                            |
>> +----------------------------------------------------------------------+
>> Input: 08:36:54.613 stuntsx0x20d8a !STUN sending message (transmit count=2)
>> 08:36:54.658 udprel0x20d50d  .RX 124 bytes STUN message from 66.228.45.110:3478:
>> --- begin STUN message ---
>> STUN Allocate error response
>>  Hdr: length=104, magic=2112a442, tsx_id=000002136a064ea311caadb9
>>  Attributes:
>>   ERROR-CODE: length=16, err_code=401, reason="Unauthorized"
>>   REALM: length=11, value="viagenie.ca"
>>   NONCE: length=40, value="ZjFsUAAAAAA=0DvfogYWSh+K7BUy2wi+J/QjKzg="
>>   MESSAGE-INTEGRITY: length=20, data=bc5fe09e384cd07b607397cc496b891c3fc49c66
>> --- end of STUN message ---
>>
>> 08:36:54.658 udprel0x20d50d  .Retrying request with new authentication
>> 08:36:54.658 udprel0x20d50d  ..TX 160 bytes STUN message to 66.228.45.110:3478:
>> --- begin STUN message ---
>> STUN Allocate request
>>  Hdr: length=140, magic=2112a442, tsx_id=000002136b3527d511caadba
>>  Attributes:
>>   REQUESTED-TRANSPORT: length=4, value=285212672 (0x11000000)
>>   SOFTWARE: length=12, value="pjnath-2.0.1"
>>   USERNAME: length=27, value="simon.perreault at viagenie.ca"
>>   REALM: length=11, value="viagenie.ca"
>>   NONCE: length=40, value="ZjFsUAAAAAA=0DvfogYWSh+K7BUy2wi+J/QjKzg="
>>   MESSAGE-INTEGRITY: length=20, data=b15686654e9e196a6115e1f67959abde11c0d64b
>> --- end of STUN message ---
>>
>> 08:36:54.658 stuntsx0x7f42d  ..STUN client transaction created
>> 08:36:54.658 stuntsx0x7f42d  ..STUN sending message (transmit count=1)
>> 08:36:54.757 stuntsx0x7f42d  STUN sending message (transmit count=2)
>> 08:36:54.838 udprel0x20d50d  .RX 124 bytes STUN message from 66.228.45.110:3478:
>> --- begin STUN message ---
>> STUN Allocate error response
>>  Hdr: length=104, magic=2112a442, tsx_id=000002136a064ea311caadb9
>>  Attributes:
>>   ERROR-CODE: length=16, err_code=401, reason="Unauthorized"
>>   REALM: length=11, value="viagenie.ca"
>>   NONCE: length=40, value="ZjFsUAAAAAA=0DvfogYWSh+K7BUy2wi+J/QjKzg="
>>   MESSAGE-INTEGRITY: length=20, data=bc5fe09e384cd07b607397cc496b891c3fc49c66
>> --- end of STUN message ---
>>
>> 08:36:54.878 udprel0x20d50d  .RX 84 bytes STUN message from 66.228.45.110:3478:
>> --- begin STUN message ---
>> STUN Allocate success response
>>  Hdr: length=64, magic=2112a442, tsx_id=000002136b3527d511caadba
>>  Attributes:
>>   XOR-RELAYED-ADDRESS: length=8, IPv4 addr=66.228.45.110:49296
>>   LIFETIME: length=4, value=600 (0x258)
>>   BANDWIDTH: length=4, value=4294967295 (0xffffffff)
>>   XOR-MAPPED-ADDRESS: length=8, IPv4 addr=206.123.31.123:54389
>>   MESSAGE-INTEGRITY: length=20, data=e4edc95671baf79a2b6044359eabf1bc8de392e9
>> --- end of STUN message ---
>>
>> 08:36:54.878 udprel0x20d50d  .State changed Allocating --> Ready
>> 08:36:54.878        icedemo  .TURN client state changed Allocating --> Ready
>> 08:36:54.878        icedemo  ..Comp 1: TURN allocation complete, relay address
>> is 66.228.45.110:49296
>> 08:36:54.878      icedemo.c  ..ICE initialization successful
>> 08:36:54.975 udprel0x20d50d  .RX 84 bytes STUN message from 66.228.45.110:3478:
>> --- begin STUN message ---
>> STUN Allocate success response
>>  Hdr: length=64, magic=2112a442, tsx_id=000002136b3527d511caadba
>>  Attributes:
>>   XOR-RELAYED-ADDRESS: length=8, IPv4 addr=66.228.45.110:49296
>>   LIFETIME: length=4, value=600 (0x258)
>>   BANDWIDTH: length=4, value=4294967295 (0xffffffff)
>>   XOR-MAPPED-ADDRESS: length=8, IPv4 addr=206.123.31.123:54389
>>   MESSAGE-INTEGRITY: length=20, data=e4edc95671baf79a2b6044359eabf1bc8de392e9
>> --- end of STUN message ---
> 


_______________________________________________
nice mailing list
nice at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nice/attachments/20121004/0a8247d7/attachment-0001.html>


More information about the nice mailing list