Video.setMediaStream

void setMediaStream(gtk.media_stream.MediaStream stream = null)

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 [gtk.picture.Picture] for display.

If you want to display a file, consider using [gtk.video.Video.setFile] instead.

Parameters

streamThe media stream to play or null to unset