set_media_stream


Description:

public void set_media_stream (MediaStream? stream)

Sets the media stream to be played back.

this will take full control of managing the media stream. If you want to manage a media stream yourself, consider using a [class@Gtk.Picture] for display.

If you want to display a file, consider using [method@Gtk.Video.set_file] instead.

Parameters:

this

a `GtkVideo`

stream

The media stream to play or null to unset