MediaStream
GtkMediaStream
is the integration point for media playback inside GTK.
GTK provides an implementation of the GtkMediaStream
interface that is called class@Gtk.MediaFile.
Apart from application-facing API for stream playback, GtkMediaStream
has a number of APIs that are only useful for implementations and should not be used in applications: method@Gtk.MediaStream.prepared, method@Gtk.MediaStream.unprepared, method@Gtk.MediaStream.update, method@Gtk.MediaStream.ended, method@Gtk.MediaStream.seek_success, method@Gtk.MediaStream.seek_failed, method@Gtk.MediaStream.gerror, method@Gtk.MediaStream.error, method@Gtk.MediaStream.error_valist.
Skipped during bindings generation
method
error
: Varargs parameter is not supportedparameter
args
: va_listmethod
ended
: Property has no getter nor settermethod
has-audio
: Property has no getter nor settermethod
has-video
: Property has no getter nor settermethod
prepared
: Property has no getter nor settermethod
seekable
: Property has no getter nor settermethod
seeking
: Property has no getter nor setter
Inheritors
Constructors
Functions
Returns whether the stream has finished initializing.
Checks if a stream may be seekable.
Ends a seek operation started via GtkMediaStream.seek() as a failure.
Ends a seek operation started via GtkMediaStream.seek() successfully.
Pauses the media stream and marks it as ended.
Called by GtkMediaStream
implementations to advertise the stream being ready to play and providing details about the stream.
Resets a given media stream implementation.
Same as gtk_media_stream_stream_unprepared().