GstPlaySignalAdapter
GObject ╰──GstPlaySignalAdapter
Since : 1.20
Class structure
GstPlaySignalAdapterClass
GstPlay.PlaySignalAdapterClass
GstPlay.PlaySignalAdapterClass
Constructors
gst_play_signal_adapter_new
GstPlaySignalAdapter * gst_play_signal_adapter_new (GstPlay * play)
A bus-watching GSource will be created and attached to the the thread-default GMainContext. The attached callback will emit the corresponding signal for the message received. Matching signals for play messages from the bus will be emitted by it on the created adapter object.
Parameters:
play
(
[transfer: none])
–
GstPlay instance to emit signals for.
A new GstPlaySignalAdapter to connect signal handlers to.
Since : 1.20
GstPlay.PlaySignalAdapter.prototype.new
function GstPlay.PlaySignalAdapter.prototype.new(play: GstPlay.Play): {
// javascript wrapper for 'gst_play_signal_adapter_new'
}
A bus-watching GSource (not introspectable) will be created and attached to the the thread-default GMainContext (not introspectable). The attached callback will emit the corresponding signal for the message received. Matching signals for play messages from the bus will be emitted by it on the created adapter object.
Parameters:
GstPlay.Play instance to emit signals for.
A new GstPlay.PlaySignalAdapter to connect signal handlers to.
Since : 1.20
GstPlay.PlaySignalAdapter.new
def GstPlay.PlaySignalAdapter.new (play):
#python wrapper for 'gst_play_signal_adapter_new'
A bus-watching GSource (not introspectable) will be created and attached to the the thread-default GMainContext (not introspectable). The attached callback will emit the corresponding signal for the message received. Matching signals for play messages from the bus will be emitted by it on the created adapter object.
Parameters:
GstPlay.Play instance to emit signals for.
A new GstPlay.PlaySignalAdapter to connect signal handlers to.
Since : 1.20
gst_play_signal_adapter_new_sync_emit
GstPlaySignalAdapter * gst_play_signal_adapter_new_sync_emit (GstPlay * play)
Create an adapter that synchronously emits its signals, from the thread in which the messages have been posted.
Parameters:
play
(
[transfer: none])
–
GstPlay instance to emit signals for.
A new GstPlaySignalAdapter to connect signal handlers to.
Since : 1.20
GstPlay.PlaySignalAdapter.prototype.new_sync_emit
function GstPlay.PlaySignalAdapter.prototype.new_sync_emit(play: GstPlay.Play): {
// javascript wrapper for 'gst_play_signal_adapter_new_sync_emit'
}
Create an adapter that synchronously emits its signals, from the thread in which the messages have been posted.
Parameters:
GstPlay.Play instance to emit signals for.
A new GstPlay.PlaySignalAdapter to connect signal handlers to.
Since : 1.20
GstPlay.PlaySignalAdapter.new_sync_emit
def GstPlay.PlaySignalAdapter.new_sync_emit (play):
#python wrapper for 'gst_play_signal_adapter_new_sync_emit'
Create an adapter that synchronously emits its signals, from the thread in which the messages have been posted.
Parameters:
GstPlay.Play instance to emit signals for.
A new GstPlay.PlaySignalAdapter to connect signal handlers to.
Since : 1.20
gst_play_signal_adapter_new_with_main_context
GstPlaySignalAdapter * gst_play_signal_adapter_new_with_main_context (GstPlay * play, GMainContext * context)
A bus-watching GSource will be created and attached to the context. The attached callback will emit the corresponding signal for the message received. Matching signals for play messages from the bus will be emitted by it on the created adapter object.
Parameters:
play
(
[transfer: none])
–
GstPlay instance to emit signals for.
context
–
A GMainContext on which the main-loop will process play bus messages on.
A new GstPlaySignalAdapter to connect signal handlers to.
Since : 1.20
GstPlay.PlaySignalAdapter.prototype.new_with_main_context
function GstPlay.PlaySignalAdapter.prototype.new_with_main_context(play: GstPlay.Play, context: GMainContext (not introspectable)): {
// javascript wrapper for 'gst_play_signal_adapter_new_with_main_context'
}
A bus-watching GSource (not introspectable) will be created and attached to the context. The attached callback will emit the corresponding signal for the message received. Matching signals for play messages from the bus will be emitted by it on the created adapter object.
Parameters:
GstPlay.Play instance to emit signals for.
A GMainContext (not introspectable) on which the main-loop will process play bus messages on.
A new GstPlay.PlaySignalAdapter to connect signal handlers to.
Since : 1.20
GstPlay.PlaySignalAdapter.new_with_main_context
def GstPlay.PlaySignalAdapter.new_with_main_context (play, context):
#python wrapper for 'gst_play_signal_adapter_new_with_main_context'
A bus-watching GSource (not introspectable) will be created and attached to the context. The attached callback will emit the corresponding signal for the message received. Matching signals for play messages from the bus will be emitted by it on the created adapter object.
Parameters:
GstPlay.Play instance to emit signals for.
A GMainContext (not introspectable) on which the main-loop will process play bus messages on.
A new GstPlay.PlaySignalAdapter to connect signal handlers to.
Since : 1.20
Methods
gst_play_signal_adapter_get_play
GstPlay * gst_play_signal_adapter_get_play (GstPlaySignalAdapter * adapter)
Parameters:
adapter
–
GstPlaySignalAdapter instance
The GstPlay owning this signal adapter.
Since : 1.20
GstPlay.PlaySignalAdapter.prototype.get_play
function GstPlay.PlaySignalAdapter.prototype.get_play(): {
// javascript wrapper for 'gst_play_signal_adapter_get_play'
}
Parameters:
GstPlay.PlaySignalAdapter instance
The GstPlay.Play owning this signal adapter.
Since : 1.20
GstPlay.PlaySignalAdapter.get_play
def GstPlay.PlaySignalAdapter.get_play (self):
#python wrapper for 'gst_play_signal_adapter_get_play'
Parameters:
GstPlay.PlaySignalAdapter instance
The GstPlay.Play owning this signal adapter.
Since : 1.20
Signals
buffering
buffering_callback (GstPlaySignalAdapter * self, gint object, gpointer user_data)
Parameters:
self
–
object
–
user_data
–
buffering
function buffering_callback(self: GstPlay.PlaySignalAdapter, object: Number, user_data: Object): {
// javascript callback for the 'buffering' signal
}
Parameters:
buffering
def buffering_callback (self, object, *user_data):
#python callback for the 'buffering' signal
Parameters:
duration-changed
duration_changed_callback (GstPlaySignalAdapter * self, guint64 object, gpointer user_data)
Parameters:
self
–
object
–
user_data
–
duration-changed
function duration_changed_callback(self: GstPlay.PlaySignalAdapter, object: Number, user_data: Object): {
// javascript callback for the 'duration-changed' signal
}
Parameters:
duration-changed
def duration_changed_callback (self, object, *user_data):
#python callback for the 'duration-changed' signal
Parameters:
end-of-stream
end_of_stream_callback (GstPlaySignalAdapter * self, gpointer user_data)
Parameters:
self
–
user_data
–
end-of-stream
function end_of_stream_callback(self: GstPlay.PlaySignalAdapter, user_data: Object): {
// javascript callback for the 'end-of-stream' signal
}
Parameters:
end-of-stream
def end_of_stream_callback (self, *user_data):
#python callback for the 'end-of-stream' signal
Parameters:
error
error_callback (GstPlaySignalAdapter * self, GError * error, GstStructure * details, gpointer user_data)
Emitted on errors.
Parameters:
self
–
error
–
The error
details
(
[nullable])
–
Additional error details
user_data
–
error
function error_callback(self: GstPlay.PlaySignalAdapter, error: GError (not introspectable), details: Gst.Structure, user_data: Object): {
// javascript callback for the 'error' signal
}
Emitted on errors.
Parameters:
The error
Additional error details
error
def error_callback (self, error, details, *user_data):
#python callback for the 'error' signal
Emitted on errors.
Parameters:
The error
Additional error details
media-info-updated
media_info_updated_callback (GstPlaySignalAdapter * self, GstPlayMediaInfo * object, gpointer user_data)
Parameters:
self
–
object
–
user_data
–
media-info-updated
function media_info_updated_callback(self: GstPlay.PlaySignalAdapter, object: GstPlay.PlayMediaInfo, user_data: Object): {
// javascript callback for the 'media-info-updated' signal
}
Parameters:
media-info-updated
def media_info_updated_callback (self, object, *user_data):
#python callback for the 'media-info-updated' signal
Parameters:
mute-changed
mute_changed_callback (GstPlaySignalAdapter * self, gboolean object, gpointer user_data)
Parameters:
self
–
object
–
user_data
–
mute-changed
function mute_changed_callback(self: GstPlay.PlaySignalAdapter, object: Number, user_data: Object): {
// javascript callback for the 'mute-changed' signal
}
Parameters:
mute-changed
def mute_changed_callback (self, object, *user_data):
#python callback for the 'mute-changed' signal
Parameters:
position-updated
position_updated_callback (GstPlaySignalAdapter * self, guint64 object, gpointer user_data)
Parameters:
self
–
object
–
user_data
–
position-updated
function position_updated_callback(self: GstPlay.PlaySignalAdapter, object: Number, user_data: Object): {
// javascript callback for the 'position-updated' signal
}
Parameters:
position-updated
def position_updated_callback (self, object, *user_data):
#python callback for the 'position-updated' signal
Parameters:
seek-done
seek_done_callback (GstPlaySignalAdapter * self, guint64 object, gpointer user_data)
Parameters:
self
–
object
–
user_data
–
seek-done
function seek_done_callback(self: GstPlay.PlaySignalAdapter, object: Number, user_data: Object): {
// javascript callback for the 'seek-done' signal
}
Parameters:
seek-done
def seek_done_callback (self, object, *user_data):
#python callback for the 'seek-done' signal
Parameters:
state-changed
state_changed_callback (GstPlaySignalAdapter * self, GstPlayState * object, gpointer user_data)
Parameters:
self
–
object
–
user_data
–
state-changed
function state_changed_callback(self: GstPlay.PlaySignalAdapter, object: GstPlay.PlayState, user_data: Object): {
// javascript callback for the 'state-changed' signal
}
Parameters:
state-changed
def state_changed_callback (self, object, *user_data):
#python callback for the 'state-changed' signal
Parameters:
uri-loaded
uri_loaded_callback (GstPlaySignalAdapter * self, gchar * object, gpointer user_data)
Parameters:
self
–
object
–
user_data
–
uri-loaded
function uri_loaded_callback(self: GstPlay.PlaySignalAdapter, object: String, user_data: Object): {
// javascript callback for the 'uri-loaded' signal
}
Parameters:
uri-loaded
def uri_loaded_callback (self, object, *user_data):
#python callback for the 'uri-loaded' signal
Parameters:
video-dimensions-changed
video_dimensions_changed_callback (GstPlaySignalAdapter * self, guint object, guint p0, gpointer user_data)
Parameters:
self
–
object
–
p0
–
user_data
–
video-dimensions-changed
function video_dimensions_changed_callback(self: GstPlay.PlaySignalAdapter, object: Number, p0: Number, user_data: Object): {
// javascript callback for the 'video-dimensions-changed' signal
}
Parameters:
video-dimensions-changed
def video_dimensions_changed_callback (self, object, p0, *user_data):
#python callback for the 'video-dimensions-changed' signal
Parameters:
volume-changed
volume_changed_callback (GstPlaySignalAdapter * self, gdouble object, gpointer user_data)
Parameters:
self
–
object
–
user_data
–
volume-changed
function volume_changed_callback(self: GstPlay.PlaySignalAdapter, object: Number, user_data: Object): {
// javascript callback for the 'volume-changed' signal
}
Parameters:
volume-changed
def volume_changed_callback (self, object, *user_data):
#python callback for the 'volume-changed' signal
Parameters:
warning
warning_callback (GstPlaySignalAdapter * self, GError * error, GstStructure * details, gpointer user_data)
Emitted on warnings.
Parameters:
self
–
error
–
The warning
details
(
[nullable])
–
Additional warning details
user_data
–
warning
function warning_callback(self: GstPlay.PlaySignalAdapter, error: GError (not introspectable), details: Gst.Structure, user_data: Object): {
// javascript callback for the 'warning' signal
}
Emitted on warnings.
Parameters:
The warning
Additional warning details
warning
def warning_callback (self, error, details, *user_data):
#python callback for the 'warning' signal
Emitted on warnings.
Parameters:
The warning
Additional warning details
Properties
The results of the search are