MediaFile.newForInputStream
gtk.media_file.MediaFile newForInputStream(gio.input_stream.InputStream stream)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
stream | The stream to play |
Returns
a new [gtk.media_file.MediaFile]