set_input_stream


Description:

public void set_input_stream (InputStream? stream)

Sets the `GtkMediaFile` 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:

this

a `GtkMediaFile`

stream

the stream to play from




2022 vala-language.org