[Nice] Serializing NiceCandidate...
youness.alaoui at collabora.co.uk
Mon Aug 23 17:34:32 PDT 2010
FYI, You don't need everything from the structure, the 'turn' attribute is also
internal and useless for you, same for priority.
Have a look at the RFC on how to encode the SDP, it might help you understand
how to 'serialize' the candidate :
On 08/23/2010 08:06 PM, Youness Alaoui wrote:
> No, that's used only internally, you don't need to read it or write it or
> anything like that!
> The documentation says "the underlying socket", I thought it would be pretty
> On 08/23/2010 08:04 PM, Tony Di Croce wrote:
>> I have to serialize and transmit NiceCandidate objects from one peer to
>> another... The only field i'm unsure about how to proceed with is
>> "sockptr"... This is defined as a gpointer... When I reconstruct these
>> CandidateObjects on the other side of a network connection this member
>> will be NULL... Is that OK, or should i initialize it in some way?
>> Nice mailing list
>> Nice at lists.freedesktop.org
> Nice mailing list
> Nice at lists.freedesktop.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the Nice