MediaFile.newForInputStream

gtk.media_file.MediaFile newForInputStream(gio.input_stream.InputStream stream) static nothrow

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