[libnice] 'should not be reached' on Android, GStreamer 1.18.3, webrtcbin
Tom Gilbert
twcgilbert at gmail.com
Fri Feb 12 10:07:36 UTC 2021
Hi Olivier,
Thanks very much for your rapid response.
To give this patch a go, would I need to build libnice and then GStreamer
(or possibly just webrtc* plugins) from source? I survived the build
process for libwebrtc, so have hope, at least ;)
I am seeing some other odd log output (below), is this likely to be the
same issue? [If I had the build running already, I'd test Gstreamer 1.18.3
+ patched libnice before asking, but suspect it may take a while to figure
out!]
D/GLib+libnice: agent_recv_message_unlocked: Agent 0xa5cdbaa0 : Packet
received on local socket 0xa5132750 (fd 196) from [123.45.67.89]:10103 (46
octets).
D/GLib+libnice: component_io_cb: 0xa5cdbaa0: received a valid message with
46 bytes
D/GLib+libnice: agent_recv_message_unlocked: Agent 0xa5cdbaa0: no message
available on read attempt
D/GLib+libnice: component_io_cb: 0xa5cdbaa0: no message available on read
attempt
I/GStreamer+webrtcbin: 0:43:11.556004097 0xb46f7320
../ext/webrtc/gstwebrtcbin.c:5596:on_rtpbin_ssrc_active:<sendrecv> session
0 ssrc 1 active
D/GLib+libnice: Agent 0xa5cdbaa0 : s1:1: sending 1 messages to
[123.45.67.89]:10103
D/GLib+libnice: nice_agent_send_messages_nonblocking_internal: n_sent: 1,
n_messages: 1
these last 2 lines show up hundreds of times, don't seem to stop.
cheers,
Tom
On Thu, 11 Feb 2021 at 17:51, Olivier Crête <olivier.crete at collabora.com>
wrote:
> Hi,
>
> I believe this is a known bug that is fixed in the git master by this
> patch:
>
> https://gitlab.freedesktop.org/libnice/libnice/-/commit/3144e58c003e852d0c7709efb430dd73594ef698
>
> Olivier
>
> On Thu, 2021-02-11 at 17:26 +0000, Tom Gilbert wrote:
> Hi there,
>
> Starting with a working Android client version using libwebrtc, I have
> been investigating switching to GStreamer & webrtcbin & have a *lot* to
> learn :) The client runs against a Medooze back end using ice-lite.
>
> Using GStreamer 1.18.3, I see a bunch of lines like this and wondered if
> they highlight a setup / configuration problem in my code?
> ../agent/address.c: line 206 (nice_address_set_from_sockaddr): should not
> be reached
> ../agent/address.c: line 346 (nice_address_is_private): should not be
> reached
>
> I have included related log lines below. Apologies for including this much
> text, hope that's OK. I can provide additional log output via whatever
> route, if helpful.
>
> thanks in advance for any insight you can provide,
>
> --
>
> Olivier Crête
> olivier.crete at collabora.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nice/attachments/20210212/ef97ed72/attachment.htm>
More information about the nice
mailing list