GstWebRTCDataChannel
GstWebRTCDataChannel
GObject ╰──GstWebRTCDataChannel
Since : 1.18
Class structure
GstWebRTCDataChannelClass
Since : 1.18
GstWebRTC.WebRTCDataChannelClass
Since : 1.18
GstWebRTC.WebRTCDataChannelClass
Since : 1.18
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:
GstWebRTC.WebRTCDataChannel.close
def GstWebRTC.WebRTCDataChannel.close (self):
#python wrapper for 'gst_webrtc_data_channel_close'
Close the channel.
Parameters:
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: GBytes (not introspectable)): {
// javascript wrapper for 'gst_webrtc_data_channel_send_data'
}
Send data as a data message over channel.
Parameters:
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.
Parameters:
gst_webrtc_data_channel_send_data_full
gboolean gst_webrtc_data_channel_send_data_full (GstWebRTCDataChannel * channel, GBytes * data, GError ** error)
Send data as a data message over channel.
Parameters:
channel
–
TRUE if channel is open and data could be queued
Since : 1.22
GstWebRTC.WebRTCDataChannel.prototype.send_data_full
function GstWebRTC.WebRTCDataChannel.prototype.send_data_full(data: GBytes (not introspectable)): {
// javascript wrapper for 'gst_webrtc_data_channel_send_data_full'
}
Send data as a data message over channel.
Parameters:
TRUE if channel is open and data could be queued
Since : 1.22
GstWebRTC.WebRTCDataChannel.send_data_full
@raises(GLib.GError)
def GstWebRTC.WebRTCDataChannel.send_data_full (self, data):
#python wrapper for 'gst_webrtc_data_channel_send_data_full'
Send data as a data message over channel.
Parameters:
TRUE if channel is open and data could be queued
Since : 1.22
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:
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:
gst_webrtc_data_channel_send_string_full
gboolean gst_webrtc_data_channel_send_string_full (GstWebRTCDataChannel * channel, const gchar * str, GError ** error)
Send str as a string message over channel.
TRUE if channel is open and data could be queued
Since : 1.22
GstWebRTC.WebRTCDataChannel.prototype.send_string_full
function GstWebRTC.WebRTCDataChannel.prototype.send_string_full(str: String): {
// javascript wrapper for 'gst_webrtc_data_channel_send_string_full'
}
Send str as a string message over channel.
Parameters:
TRUE if channel is open and data could be queued
Since : 1.22
GstWebRTC.WebRTCDataChannel.send_string_full
@raises(GLib.GError)
def GstWebRTC.WebRTCDataChannel.send_string_full (self, str):
#python wrapper for 'gst_webrtc_data_channel_send_string_full'
Send str as a string message over channel.
Parameters:
TRUE if channel is open and data could be queued
Since : 1.22
Signals
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:
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:
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:
Flags: Run Last
on-close
def on_close_callback (self, *user_data):
#python callback for the 'on-close' signal
Parameters:
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: GError (not introspectable), user_data: Object): {
// javascript callback for the 'on-error' signal
}
Parameters:
the GError (not introspectable) thrown
Flags: Run Last
on-error
def on_error_callback (self, error, *user_data):
#python callback for the 'on-error' signal
Parameters:
the GError (not introspectable) thrown
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: GBytes (not introspectable), user_data: Object): {
// javascript callback for the 'on-message-data' signal
}
Parameters:
a GBytes (not introspectable) of the data received
Flags: Run Last
on-message-data
def on_message_data_callback (self, data, *user_data):
#python callback for the 'on-message-data' signal
Parameters:
a GBytes (not introspectable) of the data received
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:
the data received as a string
Flags: Run Last
on-message-string
def on_message_string_callback (self, data, *user_data):
#python callback for the 'on-message-string' signal
Parameters:
the data received as a string
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:
Flags: Run Last
on-open
def on_open_callback (self, *user_data):
#python callback for the 'on-open' signal
Parameters:
Flags: Run Last
Action Signals
close
g_signal_emit_by_name (self, "close", user_data);
Close the data channel
Parameters:
close
let ret = self.emit ("close", user_data);
Close the data channel
Parameters:
close
ret = self.emit ("close", user_data)
Close the data channel
Parameters:
send-data
g_signal_emit_by_name (self, "send-data", data, user_data);
Parameters:
send-data
let ret = self.emit ("send-data", data, user_data);
Parameters:
a GBytes (not introspectable) with the data
send-data
ret = self.emit ("send-data", data, user_data)
Parameters:
a GBytes (not introspectable) with the data
send-string
g_signal_emit_by_name (self, "send-string", data, user_data);
Parameters:
the data to send as a string
send-string
let ret = self.emit ("send-string", data, user_data);
Parameters:
the data to send as a string
send-string
ret = self.emit ("send-string", data, user_data)
Parameters:
the data to send as a string
Properties
The results of the search are