RTPBasePayload.setOptions

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.

class RTPBasePayload
void
setOptions
(
string media
,
bool dynamic
,,)

Parameters

media string

the media type (typically "audio" or "video")

dynamic bool

if the payload type is dynamic

encodingName string

the encoding name

clockRate uint

the clock rate of the media