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
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
Gets the duration of the stream.
Return whether the stream is currently playing.
Returns the current presentation timestamp in microseconds.
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.
Starts or pauses playback of the stream.
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.