GstWebRTCDataChannel
GstWebRTCDataChannel
GObject ╰──GstWebRTCDataChannel
Members
parent
(GObject)
–
lock
(GMutex)
–
label
(gchar *)
–
ordered
(gboolean)
–
max_packet_lifetime
(guint)
–
max_retransmits
(guint)
–
protocol
(gchar *)
–
negotiated
(gboolean)
–
id
(gint)
–
priority
(GstWebRTCPriorityType)
–
ready_state
(GstWebRTCDataChannelState)
–
buffered_amount
(guint64)
–
buffered_amount_low_threshold
(guint64)
–
_padding
(gpointer *)
–
Class structure
GstWebRTCDataChannelClass
Fields
parent_class
(GObjectClass)
–
_padding
(gpointer *)
–
GstWebRTC.WebRTCDataChannelClass
Attributes
parent_class
(GObject.ObjectClass)
–
_padding
([ Object ])
–
GstWebRTC.WebRTCDataChannelClass
Attributes
parent_class
(GObject.ObjectClass)
–
_padding
([ object ])
–
GstWebRTCDataChannel
GObject ╰──GstWebRTCDataChannel
Members
parent
(GObject)
–
lock
(GMutex)
–
label
(String)
–
ordered
(Number)
–
max_packet_lifetime
(Number)
–
max_retransmits
(Number)
–
protocol
(String)
–
negotiated
(Number)
–
id
(Number)
–
priority
(GstWebRTCPriorityType)
–
ready_state
(GstWebRTCDataChannelState)
–
buffered_amount
(Number)
–
buffered_amount_low_threshold
(Number)
–
_padding
([ Object ])
–
GstWebRTCDataChannel
GObject ╰──GstWebRTCDataChannel
Members
parent
(GObject)
–
lock
(GMutex)
–
label
(str)
–
ordered
(bool)
–
max_packet_lifetime
(int)
–
max_retransmits
(int)
–
protocol
(str)
–
negotiated
(bool)
–
id
(int)
–
priority
(GstWebRTCPriorityType)
–
ready_state
(GstWebRTCDataChannelState)
–
buffered_amount
(int)
–
buffered_amount_low_threshold
(int)
–
_padding
([ object ])
–
Methods
gst_webrtc_data_channel_close
gst_webrtc_data_channel_close (GstWebRTCDataChannel * channel)
Close the channel.
Parameters:
channel
–
GstWebRTC.WebRTCDataChannel.prototype.close
function GstWebRTC.WebRTCDataChannel.prototype.close(): {
// javascript wrapper for 'gst_webrtc_data_channel_close'
}
Close the channel.
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
GstWebRTC.WebRTCDataChannel.close
def GstWebRTC.WebRTCDataChannel.close (self):
#python wrapper for 'gst_webrtc_data_channel_close'
Close the channel.
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
gst_webrtc_data_channel_on_buffered_amount_low
gst_webrtc_data_channel_on_buffered_amount_low (GstWebRTCDataChannel * channel)
Signal that the data channel reached a low buffered amount. Should only be used by subclasses.
Parameters:
channel
–
GstWebRTC.WebRTCDataChannel.prototype.on_buffered_amount_low
function GstWebRTC.WebRTCDataChannel.prototype.on_buffered_amount_low(): {
// javascript wrapper for 'gst_webrtc_data_channel_on_buffered_amount_low'
}
Signal that the data channel reached a low buffered amount. Should only be used by subclasses.
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
GstWebRTC.WebRTCDataChannel.on_buffered_amount_low
def GstWebRTC.WebRTCDataChannel.on_buffered_amount_low (self):
#python wrapper for 'gst_webrtc_data_channel_on_buffered_amount_low'
Signal that the data channel reached a low buffered amount. Should only be used by subclasses.
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
gst_webrtc_data_channel_on_close
gst_webrtc_data_channel_on_close (GstWebRTCDataChannel * channel)
Signal that the data channel was closed. Should only be used by subclasses.
Parameters:
channel
–
GstWebRTC.WebRTCDataChannel.prototype.on_close
function GstWebRTC.WebRTCDataChannel.prototype.on_close(): {
// javascript wrapper for 'gst_webrtc_data_channel_on_close'
}
Signal that the data channel was closed. Should only be used by subclasses.
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
GstWebRTC.WebRTCDataChannel.on_close
def GstWebRTC.WebRTCDataChannel.on_close (self):
#python wrapper for 'gst_webrtc_data_channel_on_close'
Signal that the data channel was closed. Should only be used by subclasses.
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
gst_webrtc_data_channel_on_error
gst_webrtc_data_channel_on_error (GstWebRTCDataChannel * channel, GError * error)
Signal that the data channel had an error. Should only be used by subclasses.
GstWebRTC.WebRTCDataChannel.prototype.on_error
function GstWebRTC.WebRTCDataChannel.prototype.on_error(error: GLib.Error): {
// javascript wrapper for 'gst_webrtc_data_channel_on_error'
}
Signal that the data channel had an error. Should only be used by subclasses.
GstWebRTC.WebRTCDataChannel.on_error
def GstWebRTC.WebRTCDataChannel.on_error (self, error):
#python wrapper for 'gst_webrtc_data_channel_on_error'
Signal that the data channel had an error. Should only be used by subclasses.
gst_webrtc_data_channel_on_message_data
gst_webrtc_data_channel_on_message_data (GstWebRTCDataChannel * channel, GBytes * data)
Signal that the data channel received a data message. Should only be used by subclasses.
GstWebRTC.WebRTCDataChannel.prototype.on_message_data
function GstWebRTC.WebRTCDataChannel.prototype.on_message_data(data: GLib.Bytes): {
// javascript wrapper for 'gst_webrtc_data_channel_on_message_data'
}
Signal that the data channel received a data message. Should only be used by subclasses.
GstWebRTC.WebRTCDataChannel.on_message_data
def GstWebRTC.WebRTCDataChannel.on_message_data (self, data):
#python wrapper for 'gst_webrtc_data_channel_on_message_data'
Signal that the data channel received a data message. Should only be used by subclasses.
gst_webrtc_data_channel_on_message_string
gst_webrtc_data_channel_on_message_string (GstWebRTCDataChannel * channel, const gchar * str)
Signal that the data channel received a string message. Should only be used by subclasses.
GstWebRTC.WebRTCDataChannel.prototype.on_message_string
function GstWebRTC.WebRTCDataChannel.prototype.on_message_string(str: String): {
// javascript wrapper for 'gst_webrtc_data_channel_on_message_string'
}
Signal that the data channel received a string message. Should only be used by subclasses.
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
GstWebRTC.WebRTCDataChannel.on_message_string
def GstWebRTC.WebRTCDataChannel.on_message_string (self, str):
#python wrapper for 'gst_webrtc_data_channel_on_message_string'
Signal that the data channel received a string message. Should only be used by subclasses.
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
gst_webrtc_data_channel_on_open
gst_webrtc_data_channel_on_open (GstWebRTCDataChannel * channel)
Signal that the data channel was opened. Should only be used by subclasses.
Parameters:
channel
–
GstWebRTC.WebRTCDataChannel.prototype.on_open
function GstWebRTC.WebRTCDataChannel.prototype.on_open(): {
// javascript wrapper for 'gst_webrtc_data_channel_on_open'
}
Signal that the data channel was opened. Should only be used by subclasses.
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
GstWebRTC.WebRTCDataChannel.on_open
def GstWebRTC.WebRTCDataChannel.on_open (self):
#python wrapper for 'gst_webrtc_data_channel_on_open'
Signal that the data channel was opened. Should only be used by subclasses.
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
gst_webrtc_data_channel_send_data
gst_webrtc_data_channel_send_data (GstWebRTCDataChannel * channel, GBytes * data)
Send data as a data message over channel.
GstWebRTC.WebRTCDataChannel.prototype.send_data
function GstWebRTC.WebRTCDataChannel.prototype.send_data(data: GLib.Bytes): {
// javascript wrapper for 'gst_webrtc_data_channel_send_data'
}
Send data as a data message over channel.
GstWebRTC.WebRTCDataChannel.send_data
def GstWebRTC.WebRTCDataChannel.send_data (self, data):
#python wrapper for 'gst_webrtc_data_channel_send_data'
Send data as a data message over channel.
gst_webrtc_data_channel_send_string
gst_webrtc_data_channel_send_string (GstWebRTCDataChannel * channel, const gchar * str)
Send str as a string message over channel.
GstWebRTC.WebRTCDataChannel.prototype.send_string
function GstWebRTC.WebRTCDataChannel.prototype.send_string(str: String): {
// javascript wrapper for 'gst_webrtc_data_channel_send_string'
}
Send str as a string message over channel.
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
GstWebRTC.WebRTCDataChannel.send_string
def GstWebRTC.WebRTCDataChannel.send_string (self, str):
#python wrapper for 'gst_webrtc_data_channel_send_string'
Send str as a string message over channel.
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
Signals
close
close_callback (GstWebRTCDataChannel * self, gpointer user_data)
Close the data channel
Parameters:
self
–
user_data
–
close
function close_callback(self: GstWebRTC.WebRTCDataChannel, user_data: Object): {
// javascript callback for the 'close' signal
}
Close the data channel
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
user_data
(
Object
)
–
close
def close_callback (self, *user_data):
#python callback for the 'close' signal
Close the data channel
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
user_data
(
variadic
)
–
on-buffered-amount-low
on_buffered_amount_low_callback (GstWebRTCDataChannel * self, gpointer user_data)
Parameters:
self
–
user_data
–
Flags: Run Last
on-buffered-amount-low
function on_buffered_amount_low_callback(self: GstWebRTC.WebRTCDataChannel, user_data: Object): {
// javascript callback for the 'on-buffered-amount-low' signal
}
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
user_data
(
Object
)
–
Flags: Run Last
on-buffered-amount-low
def on_buffered_amount_low_callback (self, *user_data):
#python callback for the 'on-buffered-amount-low' signal
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
user_data
(
variadic
)
–
Flags: Run Last
on-close
on_close_callback (GstWebRTCDataChannel * self, gpointer user_data)
Parameters:
self
–
user_data
–
Flags: Run Last
on-close
function on_close_callback(self: GstWebRTC.WebRTCDataChannel, user_data: Object): {
// javascript callback for the 'on-close' signal
}
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
user_data
(
Object
)
–
Flags: Run Last
on-close
def on_close_callback (self, *user_data):
#python callback for the 'on-close' signal
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
user_data
(
variadic
)
–
Flags: Run Last
on-error
on_error_callback (GstWebRTCDataChannel * self, GError * error, gpointer user_data)
Parameters:
self
–
error
–
the GError thrown
user_data
–
Flags: Run Last
on-error
function on_error_callback(self: GstWebRTC.WebRTCDataChannel, error: GLib.Error, user_data: Object): {
// javascript callback for the 'on-error' signal
}
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
error
(
GLib.Error
)
–
the GLib.Error thrown
user_data
(
Object
)
–
Flags: Run Last
on-error
def on_error_callback (self, error, *user_data):
#python callback for the 'on-error' signal
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
error
(
GLib.Error
)
–
the GLib.Error thrown
user_data
(
variadic
)
–
Flags: Run Last
on-message-data
on_message_data_callback (GstWebRTCDataChannel * self, GBytes * data, gpointer user_data)
Parameters:
self
–
data
(
[nullable]
)
–
a GBytes of the data received
user_data
–
Flags: Run Last
on-message-data
function on_message_data_callback(self: GstWebRTC.WebRTCDataChannel, data: GLib.Bytes, user_data: Object): {
// javascript callback for the 'on-message-data' signal
}
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
data
(
GLib.Bytes
)
–
a GLib.Bytes of the data received
user_data
(
Object
)
–
Flags: Run Last
on-message-data
def on_message_data_callback (self, data, *user_data):
#python callback for the 'on-message-data' signal
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
data
(
GLib.Bytes
)
–
a GLib.Bytes of the data received
user_data
(
variadic
)
–
Flags: Run Last
on-message-string
on_message_string_callback (GstWebRTCDataChannel * self, gchar * data, gpointer user_data)
Parameters:
self
–
data
(
[nullable]
)
–
the data received as a string
user_data
–
Flags: Run Last
on-message-string
function on_message_string_callback(self: GstWebRTC.WebRTCDataChannel, data: String, user_data: Object): {
// javascript callback for the 'on-message-string' signal
}
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
data
(
String
)
–
the data received as a string
user_data
(
Object
)
–
Flags: Run Last
on-message-string
def on_message_string_callback (self, data, *user_data):
#python callback for the 'on-message-string' signal
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
data
(
str
)
–
the data received as a string
user_data
(
variadic
)
–
Flags: Run Last
on-open
on_open_callback (GstWebRTCDataChannel * self, gpointer user_data)
Parameters:
self
–
user_data
–
Flags: Run Last
on-open
function on_open_callback(self: GstWebRTC.WebRTCDataChannel, user_data: Object): {
// javascript callback for the 'on-open' signal
}
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
user_data
(
Object
)
–
Flags: Run Last
on-open
def on_open_callback (self, *user_data):
#python callback for the 'on-open' signal
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
user_data
(
variadic
)
–
Flags: Run Last
send-data
send_data_callback (GstWebRTCDataChannel * self, GBytes * data, gpointer user_data)
Parameters:
self
–
data
(
[nullable]
)
–
a GBytes with the data
user_data
–
send-data
function send_data_callback(self: GstWebRTC.WebRTCDataChannel, data: GLib.Bytes, user_data: Object): {
// javascript callback for the 'send-data' signal
}
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
data
(
GLib.Bytes
)
–
a GLib.Bytes with the data
user_data
(
Object
)
–
send-data
def send_data_callback (self, data, *user_data):
#python callback for the 'send-data' signal
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
data
(
GLib.Bytes
)
–
a GLib.Bytes with the data
user_data
(
variadic
)
–
send-string
send_string_callback (GstWebRTCDataChannel * self, gchar * data, gpointer user_data)
Parameters:
self
–
data
(
[nullable]
)
–
the data to send as a string
user_data
–
send-string
function send_string_callback(self: GstWebRTC.WebRTCDataChannel, data: String, user_data: Object): {
// javascript callback for the 'send-string' signal
}
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
data
(
String
)
–
the data to send as a string
user_data
(
Object
)
–
send-string
def send_string_callback (self, data, *user_data):
#python callback for the 'send-string' signal
Parameters:
self
(
GstWebRTC.WebRTCDataChannel
)
–
data
(
str
)
–
the data to send as a string
user_data
(
variadic
)
–
Properties
Virtual Methods
close
function close(channel: GstWebRTC.WebRTCDataChannel): {
// javascript implementation of the 'close' virtual method
}
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
close
def close (channel):
#python implementation of the 'close' virtual method
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
send_data
send_data (GstWebRTCDataChannel * channel, GBytes * data)
Parameters:
channel
–
data
–
send_data
function send_data(channel: GstWebRTC.WebRTCDataChannel, data: GLib.Bytes): {
// javascript implementation of the 'send_data' virtual method
}
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
data
(
GLib.Bytes
)
–
send_data
def send_data (channel, data):
#python implementation of the 'send_data' virtual method
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
data
(
GLib.Bytes
)
–
send_string
send_string (GstWebRTCDataChannel * channel, const gchar * str)
Parameters:
channel
–
str
–
send_string
function send_string(channel: GstWebRTC.WebRTCDataChannel, str: String): {
// javascript implementation of the 'send_string' virtual method
}
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
str
(
String
)
–
send_string
def send_string (channel, str):
#python implementation of the 'send_string' virtual method
Parameters:
channel
(
GstWebRTC.WebRTCDataChannel
)
–
str
(
str
)
–
Function Macros
GST_WEBRTC_DATA_CHANNEL_LOCK
#define GST_WEBRTC_DATA_CHANNEL_LOCK(channel) g_mutex_lock(&((GstWebRTCDataChannel *)(channel))->lock)
GST_WEBRTC_DATA_CHANNEL_UNLOCK
#define GST_WEBRTC_DATA_CHANNEL_UNLOCK(channel) g_mutex_unlock(&((GstWebRTCDataChannel *)(channel))->lock)
The results of the search are