for_input_stream


Description:

[ CCode ( cname = "gtk_media_file_new_for_input_stream" , type = "GtkMediaStream*" ) ]
public static MediaFile for_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 `GSeekable` interface.

Parameters:

stream

The stream to play

Returns:

a new `GtkMediaFile`