SDPMessage.removeMedia

gstsdp.types.SDPResult removeMedia(uint idx)

Remove the media at idx from the array of medias in msg if found.

Parameters

idxthe media index

Returns

#GST_SDP_OK when the specified media is found at idx and removed,

#GST_SDP_EINVAL otherwise.