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.

class MediaFile
static
newForInputStream

Parameters

stream gio.input_stream.InputStream

The stream to play

Return Value

Type: gtk.media_file.MediaFile