SDPMessage.addMedia

Adds media to the array of medias in msg. This function takes ownership of the contents of media so that media will have to be reinitialized with gstsdp.sdpmedia.SDPMedia.init_ before it can be used again.

Parameters

media gstsdp.sdpmedia.SDPMedia

a #GstSDPMedia to add

Return Value

Type: gstsdp.types.SDPResult

a #GstSDPResult.