forked from DRMTalks/devine
DASH: Don't set Range Header if no bytes range value
This caused a HTTP 501 Not Implemented on some CDNs.
This commit is contained in:
parent
630a9906ce
commit
e8b07bf03a
|
@ -441,7 +441,7 @@ class DASH:
|
||||||
"url": url,
|
"url": url,
|
||||||
"headers": {
|
"headers": {
|
||||||
"Range": f"bytes={bytes_range}"
|
"Range": f"bytes={bytes_range}"
|
||||||
}
|
} if bytes_range else {}
|
||||||
}
|
}
|
||||||
for url, bytes_range in segments
|
for url, bytes_range in segments
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue