MediaFile.newForInputStream

Creates a new media file to play stream.

If you want the resulting media to be seekable, the stream should implement the [gio.seekable.Seekable] interface.

Parameters

streamThe stream to play

Returns

a new [gtk.media_file.MediaFile]