Improvements for very long HLS playlists
This commit is contained in:
1 parent
bfc1439d1a
commit
357019d74b
3 files changed
+13
-1
No files matched your search
@@ -24,6 +24,7 @@ namespace Http
|
||||
|
||||
hlsRequest = HttpClient.Get(url)
|
||||
headers = request.headers
|
||||
' Host is probably 127.0.0.1 so we should remote it before hitting the server
|
||||
headers.Delete("Host")
|
||||
hlsRequest.Headers(headers)
|
||||
|
||||
@@ -43,7 +44,10 @@ namespace Http
|
||||
hlsManifest = m.AppendStoryboardPlaylists(hlsManifest)
|
||||
|
||||
response.http_code = hlsResponse.StatusCode()
|
||||
response.headers = hlsResponse.Headers()
|
||||
headers = hlsResponse.Headers()
|
||||
' We responding with uncompressed data
|
||||
headers.Delete("Content-Encoding")
|
||||
response.headers = headers
|
||||
response.SetBodyDataString(ValidString(hlsManifest))
|
||||
|
||||
return true
|
||||
|
||||
Reference in new issue
Block a user