Initializes an HLS stream handle. Similar to web parsing functions, HlsInit has to be called prior to a web function, which requests a playlist resource either directly or indirectly through a web page with an embedded playlist. Once the returned handle is associated with the playlist, it can be passed to a subsequent HlsPlay function call to start simulating playback of the stream.
hls.bdh
HlsInit(): number;
hStream: Handle to the HLS stream.
dcltrans transaction TNoParams var hStream : number; begin hStream := HlsInit(); WebUrl("http://lnz-streaming/basic/basicshort.m3u8"); HlsPlay(hStream, "Identifier", 0.00, 60.0, "MyLiveStream"); end TNoParams;