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 override bool OpenMedia(string path, long offset, string httpHeader, MediaHints mediaHints, int forceFileFormat = 0, bool startWithHighestBitrate = false)
Parameters
pathstringoffsetlonghttpHeaderstringmediaHintsMediaHintsforceFileFormatintstartWithHighestBitratebool
Returns
- bool