Remove LOCAL_DASH feature flag
This commit is contained in:
1 parent
132e3ec3e3
commit
192401c847
2 files changed
+4
-12
No files matched your search
@@ -85,17 +85,9 @@ function AddHlsUrls(streamUrls as object, metadata as object, proxyVideos as str
|
||||
end function
|
||||
|
||||
function AddDashUrls(streamUrls as object, metadata as object, proxyVideos as string, playletServerPort as integer) as void
|
||||
#if LOCAL_DASH
|
||||
' Redirect to Playet's local web server, where will will be
|
||||
' dynamically generating the DASH manifest.
|
||||
dashUrl = `http://127.0.0.1:${playletServerPort}/api/dash?v=${metadata.videoId}`
|
||||
#else
|
||||
if metadata.dashUrl = invalid
|
||||
return
|
||||
end if
|
||||
|
||||
dashUrl = metadata.dashUrl
|
||||
#end if
|
||||
' Redirect to Playet's local web server, where will will be
|
||||
' dynamically generating the DASH manifest, instead of metadata.dashUrl
|
||||
dashUrl = `http://127.0.0.1:${playletServerPort}/api/dash?v=${metadata.videoId}`
|
||||
|
||||
dashUrlLocal = AddLocalFlag(dashUrl)
|
||||
AddUrls(streamUrls, dashUrl, dashUrlLocal, proxyVideos)
|
||||
|
||||
Reference in new issue
Block a user