Video.setMediaStream

Sets the media stream to be played back.

@self 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.

class Video
void
setMediaStream

Parameters

stream MediaStream

The media stream to play or %NULL to unset

Meta