Table of Contents

Method OpenMedia

Namespace
RenderHeads.Media.AVProVideo
Assembly
AVProVideo.Runtime.dll

OpenMedia(string, long, string, MediaHints, int, bool)

Be careful using this method directly. It is best to instead use the OpenMedia() method in the MediaPlayer component as this will set up the events correctly and also perform other checks customHttpHeaders is in the format "key1:value1\r\nkey2:value2\r\n"=

public abstract bool OpenMedia(string path, long offset, string customHttpHeaders, MediaHints mediaHints, int forceFileFormat = 0, bool startWithHighestBitrate = false)

Parameters

path string
offset long
customHttpHeaders string
mediaHints MediaHints
forceFileFormat int
startWithHighestBitrate bool

Returns

bool