Function

GstSdp-1.0GstSdpsdp_media_init

  • Initialize media so that its contents are as if it was freshly allocated with gst_sdp_media_new(). This function is mostly used to initialize a media allocated on the stack. gst_sdp_media_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.

    Returns [SDPResult, SDPMedia]

    a GstSdp.SDPResult.