ended

open fun ended()

Pauses the media stream and marks it as ended.

This is a hint only, calls to method@Gtk.MediaStream.play may still happen.

The media stream must be prepared when this function is called.