GstSRTSrc
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseSrc ╰──GstPushSrc ╰──GstSRTSrc
Signals
caller-added
caller_added_callback (GstElement * gstsrtsrc, gint unused, GSocketAddress * addr, gpointer udata)
def caller_added_callback (gstsrtsrc, unused, addr, udata):
#python callback for the 'caller-added' signal
function caller_added_callback(gstsrtsrc: GstElement * gstsrtsrc, unused: gint unused, addr: GSocketAddress * addr, udata: gpointer udata): {
// javascript callback for the 'caller-added' signal
}
A new caller has connected to srtsrc.
Parameters:
gstsrtsrc
–
the srtsrc element that emitted this signal
unused
–
always zero (for ABI compatibility with previous versions)
addr
–
the GSocketAddress of the new caller
udata
–
Flags: Run Last
caller-connecting
gboolean caller_connecting_callback (GstElement * gstsrtsrc, GSocketAddress * addr, gchararray stream_id, gpointer udata)
def caller_connecting_callback (gstsrtsrc, addr, stream_id, udata):
#python callback for the 'caller-connecting' signal
function caller_connecting_callback(gstsrtsrc: GstElement * gstsrtsrc, addr: GSocketAddress * addr, stream_id: gchararray stream_id, udata: gpointer udata): {
// javascript callback for the 'caller-connecting' signal
}
Whether to accept or reject a caller's connection to srtsrc in listener mode. The Caller's connection is rejected if the callback returns FALSE, else the connection is accepeted.
Parameters:
gstsrtsrc
–
the srtsrc element that emitted this signal
addr
–
the GSocketAddress that describes the client socket
stream_id
–
the stream Id to which the caller wants to connect
udata
–
Flags: Run Last
Since : 1.20
caller-rejected
caller_rejected_callback (GstElement * gstsrtsrc, GSocketAddress * addr, gchararray stream_id, gpointer udata)
def caller_rejected_callback (gstsrtsrc, addr, stream_id, udata):
#python callback for the 'caller-rejected' signal
function caller_rejected_callback(gstsrtsrc: GstElement * gstsrtsrc, addr: GSocketAddress * addr, stream_id: gchararray stream_id, udata: gpointer udata): {
// javascript callback for the 'caller-rejected' signal
}
A caller's connection to srtsrc in listener mode has been rejected.
Parameters:
gstsrtsrc
–
the srtsrc element that emitted this signal
addr
–
the GSocketAddress that describes the client socket
stream_id
–
the stream Id to which the caller wants to connect
udata
–
Flags: Run Last
Since : 1.20
caller-removed
caller_removed_callback (GstElement * gstsrtsrc, gint unused, GSocketAddress * addr, gpointer udata)
def caller_removed_callback (gstsrtsrc, unused, addr, udata):
#python callback for the 'caller-removed' signal
function caller_removed_callback(gstsrtsrc: GstElement * gstsrtsrc, unused: gint unused, addr: GSocketAddress * addr, udata: gpointer udata): {
// javascript callback for the 'caller-removed' signal
}
The given caller has disconnected.
Parameters:
gstsrtsrc
–
the srtsrc element that emitted this signal
unused
–
always zero (for ABI compatibility with previous versions)
addr
–
the GSocketAddress of the caller
udata
–
Flags: Run Last
The results of the search are