Package: gtk

Accessor gtk:media-stream-error

Lambda List

gtk:media-stream-error (object)

Syntax

(gtk:media-stream-error object) => error

Arguments

object -- a gtk:media-stream object
error -- nil if not in an error state or the glib:error instance of the stream

Details

The accessor for the error slot of the gtk:media-stream class returns nil for a properly working stream or the glib:error instance that the stream is in. Any type of error can be reported here depending on the implementation of the media stream.

A media stream in an error cannot be operated on, calls like the gtk:media-stream-play or gtk:media-stream-seek functions will not have any effect.

The gtk:media-stream object itself does not provide a way to unset an error, but implementations may provide options. For example, a gtk:media-file object will unset errors when a new source is set, for example, with the (setf gtk:media-file-file) function.
 

See also

2025-09-21