[Nice] Serializing NiceCandidate...

Youness Alaoui 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 :
http://tools.ietf.org/html/rfc5245#section-4.3

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
> clear...
> 
> 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?
>>
>>    td
>>
>>
>>
>> _______________________________________________
>> 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: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/nice/attachments/20100823/05d78c87/attachment.pgp>


More information about the Nice mailing list