MediaFile.setInputStream

void setInputStream(gio.input_stream.InputStream stream = null)

Sets the gtk.media_file.MediaFile to play the given stream.

If anything is still playing, stop playing it.

Full control about the stream is assumed for the duration of playback. The stream will not be closed.

Parameters

streamthe stream to play from