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

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

class Video
void
setMediaStream

Parameters

stream gtk.media_stream.MediaStream

The media stream to play or null to unset