SDPMedia.init_
gstsdp.types.SDPResult init_(out gstsdp.sdpmedia.SDPMedia media)Initialize media so that its contents are as if it was freshly allocated with [gstsdp.sdpmedia.SDPMedia.new_]. This function is mostly used to initialize a media allocated on the stack. [gstsdp.sdpmedia.SDPMedia.uninit] undoes this operation.
When this function is invoked on newly allocated data (with malloc or on the stack), its contents should be set to 0 before calling this function.
Parameters
media | a #GstSDPMedia |
Returns
a #GstSDPResult.