DLGPlayer icon indicating copy to clipboard operation
DLGPlayer copied to clipboard

Cannot select the correct url according to the current bandwidth

Open DeviLeo opened this issue 8 years ago • 0 comments

DLGPlayer can not auto select the url of the highest resolution stream when the bandwidth reaches 2048000 as the following stream url: http://cntv.hls.cdn.myqcloud.com/asp/hls/main/0303000a/3/default/4ec8c6c1bdd941b0b11280769b036e8b/main.m3u8?maxbr=2048&minbr=400

m3u8 content:

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=204800, RESOLUTION=320x180
/asp/hls/200/0303000a/3/default/4ec8c6c1bdd941b0b11280769b036e8b/200.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=460800, RESOLUTION=480x270
/asp/hls/450/0303000a/3/default/4ec8c6c1bdd941b0b11280769b036e8b/450.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=870400, RESOLUTION=640x360
/asp/hls/850/0303000a/3/default/4ec8c6c1bdd941b0b11280769b036e8b/850.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=2048000, RESOLUTION=1280x720
/asp/hls/2000/0303000a/3/default/4ec8c6c1bdd941b0b11280769b036e8b/2000.m3u8

DeviLeo avatar Jun 09 '17 12:06 DeviLeo