GstBaseWebRTCSrc
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBin ╰──GstBaseWebRTCSrc
Signals
request-encoded-filter
GstElement * request_encoded_filter_callback (GstElement * producer_id, gchararray pad_name, gchararray allowed_caps, GstCaps * arg2, gpointer udata)
def request_encoded_filter_callback (producer_id, pad_name, allowed_caps, arg2, udata):
#python callback for the 'request-encoded-filter' signal
function request_encoded_filter_callback(producer_id: GstElement * producer_id, pad_name: gchararray pad_name, allowed_caps: gchararray allowed_caps, arg2: GstCaps * arg2, udata: gpointer udata): {
// javascript callback for the 'request-encoded-filter' signal
}
This signal can be used to insert a filter element between:
- the depayloader and the decoder.
- the depayloader and downstream element if no decoders are used.
Parameters:
producer_id
–
Identifier of the producer
pad_name
–
The name of the output pad
allowed_caps
–
the allowed caps for the output pad
arg2
–
udata
–
the element to insert.
Flags: Run Last
Properties
audio-codecs
“audio-codecs” GstValueArray *
Names of audio codecs to be be used during the SDP negotiation. Valid values: [OPUS, L24, L16, L8]
Flags : Read / Write
do-retransmission
“do-retransmission” gboolean
Send retransmission events upstream when a packet is late
Flags : Read / Write
Default value : true
enable-control-data-channel
“enable-control-data-channel” gboolean
Enable sending control requests through a dedicated WebRTCDataChannel
Flags : Read / Write
Default value : false
signaller
“signaller” GstRSWebRTCSignallableIface *
The Signallable object to use to handle WebRTC Signalling
Flags : Read / Write / Construct Only
stun-server
“stun-server” gchararray
The STUN server of the form stun://host:port
Flags : Read / Write
Default value : stun://stun.l.google.com:19302
turn-servers
“turn-servers” GstValueArray *
The TURN servers of the form <"turn(s)://username:password@host:port", "turn(s)://username1:password1@host1:port1">
Flags : Read / Write
video-codecs
“video-codecs” GstValueArray *
Names of video codecs to be be used during the SDP negotiation. Valid values: [VP8, H264, VP9, H265, AV1, RAW]
Flags : Read / Write
The results of the search are