SDPMedia.insertAttribute

Insert the attribute to media at idx. When idx is -1, the attribute is appended.

Parameters

idx int

an index

attr gstsdp.sdpattribute.SDPAttribute

a #GstSDPAttribute

Return Value

Type: gstsdp.types.SDPResult

#GST_SDP_OK.