RTPBasePayload.setOptions

void setOptions(string media, bool dynamic, string encodingName, uint clockRate)

Set the rtp options of the payloader. These options will be set in the caps of the payloader. Subclasses must call this method before calling [gstrtp.rtpbase_payload.RTPBasePayload.push] or [gstrtp.rtpbase_payload.RTPBasePayload.setOutcaps].

Parameters

mediathe media type (typically "audio" or "video")
dynamicif the payload type is dynamic
encodingNamethe encoding name
clockRatethe clock rate of the media