[libnice] multiple "new-selected-pair-full" calls and weird extra 7 bytes in receive callbacks
Philip Withnall
philip at tecnocode.co.uk
Sat Jan 16 01:15:30 PST 2016
Hi,
I just tried to reproduce this locally (on Linux) and could not.
Could you please provide a copy of the SDP strings generated by libnice
using nice_agent_generate_local_sdp(), and the ones generated by the
manual handling? That might help me investigate.
Thanks,
Philip
On Wed, 2016-01-13 at 22:05 +0600, Egor O. Ivanov wrote:
> Hi,
>
> Today I tried to run a few examples on my linux machine and found
> that this example (https://github.com/libnice/libnice/blob/master/exa
> mples/sdp-example.c) does not work - I do receive extra bytes I do
> not send.
> In contrast, this example (https://github.com/libnice/libnice/blob/ma
> ster/examples/threaded-example.c) does work.
> Comparing them I decided to replace
> nice_agent_generate_local_sdp()/nice_agent_parse_remote_sdp() from
> not working examples with manual sdp handling (like in the 2nd
> example that works)
> and libnice started to work on Android with the latter approach.
> So looks like there is a bug with
> nice_agent_generate_local_sdp()/nice_agent_parse_remote_sdp() on
> linux/android.
> My colleague faced the same issue.
> Steps to reproduce:
> 1. sudo apt-get install libnice* (on ubuntu/mint/debian 64bits)
> 2. compile and run sdp-example.c as described in its doc
> 3. you will receive extra 32 bytes of data
> 4. I was able to reproduce it with more fresh libnice 0.1.13
>
>
> ________________________________________
> From: nice [nice-bounces at lists.freedesktop.org] On Behalf Of Egor O.
> Ivanov
> Sent: Tuesday, January 12, 2016 9:26 PM
> To: nice at lists.freedesktop.org
> Subject: [libnice] multiple "new-selected-pair-full" calls and weird
> extra 7 bytes in receive callbacks
>
> Hello,
>
> I'm using libnice on ios and android. The code is the same on both
> and
> on iOS it worls perfectly, but fails on Android.
> I do receive multiple "new-selected-pair-full" calls with correct 1st
> pair and wrong 2nd and 3rd.
>
> selected pair 1 : 1
> selected pair 3 : remote-1
> selected pair 8 : 3
>
> The problem is that periodically I do receive weird 7 bytes in my
> receive callback.
> I tried different versions 0.1.10 and 0.1.13, but no luck.
>
> Thanks.
> _______________________________________________
> nice mailing list
> nice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nice
> _______________________________________________
> nice mailing list
> nice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nice
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/nice/attachments/20160116/2888e028/attachment.sig>
More information about the nice
mailing list