[libnice] Question regarding nice_agent_parse_remote_sdp
Philip Withnall
philip at tecnocode.co.uk
Tue Nov 17 16:33:40 PST 2015
On Fri, 2015-10-09 at 17:39 -0300, alberto wrote:
> Hi,
>
> I am building a set of applications that should support communication
> using libnice (version 0.1.13).
> The problem arises on the application running on an embedded platform
> (windriver), where the following situation arises:
>
> - The client (ios app) creates an agent, generates the signal
> information as an SDP and sends it to the embedded application.
> - The embedded application receives the information, creates an agent
> and starts gathering candidates.
> - When the "candidate gathering done" signal is received, an SDP is
> generated and sent back to the ios app. After that, the SDP is parsed
> used nice_agent_parse_remote_sdp (the stream names are set on both
> sides).
>
> The thing is that when the nice_agent_parse_remote_sdp function is
> called, the state of the agent immediately is set as
> NICE_COMPONENT_STATE_FAILED, and the function returns the number of
> candidates that were parsed (it correctly creates them all).
>
> Things to notice:
> - The code works perfectly well if the communication is perfomed
> between
> the ios app and a laptop running ubuntu.
> - Sometimes the connection is fully established if I ignore that
> state
> update, but this is not always the case.
>
> Am I doing something wrong here?, should I parse the remote sdp in
> some
> other point?
I can’t immediately see anything you’re doing wrong here. Could you
open a task on Phabricator and attach a debug log of the problem
please?
Philip
-------------- 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/20151118/add51069/attachment.sig>
More information about the nice
mailing list