SDPMessage.addMedia
gstsdp.types.SDPResult addMedia(gstsdp.sdpmedia.SDPMedia media)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 | a #GstSDPMedia to add |
Returns
a #GstSDPResult.