devcshort / react-hls

Simple React component for playing hls/rtmp live streams.
https://www.npmjs.com/package/react-hls-player
MIT License
118 stars 48 forks source link

Stream is running in loop #47

Open piyushmani-raj opened 1 year ago

piyushmani-raj commented 1 year ago

I am passing below url to player. https://sample.net/playback/playlist.m3u8

which return below response:

EXTM3U

EXT-X-VERSION:3

EXT-X-STREAM-INF:BANDWIDTH=250000

chunklist_w541369878.m3u8

while calling the chuncklist it returns :>

EXTM3U

EXT-X-VERSION:3

EXT-X-TARGETDURATION:10

EXT-X-MEDIA-SEQUENCE:166850424

EXT-X-DISCONTINUITY-SEQUENCE:0

EXTINF:8.008,

media_w541369878_166850424.ts

Here I dint specify the any loop but player is running stream in loop.

cgilly2fast commented 1 week ago

@piyushmani-raj Did you every find a solution to this? If not can you provide the full file again?