clappr / clappr-level-selector-plugin

Clappr Level Selector Plugin
MIT License
76 stars 56 forks source link

Live stream VS playback #56

Open gaalgergely opened 7 years ago

gaalgergely commented 7 years ago

Hello!

My config: levelSelectorConfig: { title: 'Minőség', labels: { 2: 'HD', 1: 'MQ', 0: 'LQ'}, } It work with live streams so if i choose MQ it will get: http://dostr.digi.hu/stream.m3u8?c=282&q=mq&id=59d5dbe12bcd46fa4fa3a9373a9bd6ea74d33bab1cc58110724f87c4462bf93a&_t=1493986069 If i choose HD it will get: http://dostr.digi.hu/stream.m3u8?c=282&q=hq&id=59d5dbe12bcd46fa4fa3a9373a9bd6ea74d33bab1cc58110724f87c4462bf93a&_t=1493986069

BUT with playbacks and not live streams with the same config: If i choose MQ it is fine: http://dostream02.digicable.hu:88/stream.m3u8?t=1493889900&i=1493892900&c=282&q=mq&id=717fff54ecf674efae9d8df44e5db11ee29838ef44c2c3969d42271373d6eaaf&_t=1493986675 If i choose HD it is not good, check the q parameter http://dostream02.digicable.hu:88/stream.m3u8?t=1493889900&i=1493892900&c=282&q=hd&id=717fff54ecf674efae9d8df44e5db11ee29838ef44c2c3969d42271373d6eaaf&_t=1493986675

I want the second method to work the same as the first one. So playback is the same as live. I want thew same behaviour. How can I reach that?