File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 1
1
INPUTSTREAM_PROTOCOLS = {
2
2
'mpd' : 'inputstream.adaptive' ,
3
- 'dash' : 'inputstream.adaptive' ,
4
3
'ism' : 'inputstream.adaptive' ,
5
4
'hls' : 'inputstream.adaptive' ,
6
- 'm3u8' : 'inputstream.adaptive' ,
7
5
'rtmp' : 'inputstream.rtmp'
8
6
}
9
7
10
- HLS_PROTOCOLS = ['hls' , 'm3u8' ]
11
-
12
8
DRM_SCHEMES = {
13
9
'widevine' : 'widevine' ,
14
10
'com.widevine.alpha' : 'widevine'
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ def has_widevine_cdm(self):
61
61
return False
62
62
63
63
def supports_hls (self ):
64
- if self .protocol in config . HLS_PROTOCOLS and LooseVersion (self ._inputstream_version ()) >= LooseVersion (config .HLS_MINIMUM_IA_VERSION ):
64
+ if self .protocol == 'hls' and LooseVersion (self ._inputstream_version ()) >= LooseVersion (config .HLS_MINIMUM_IA_VERSION ):
65
65
return True
66
66
else :
67
67
return False
You can’t perform that action at this time.
0 commit comments