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
|
end function
|
||||||
|
|
||||||
function AddDashUrls(streamUrls as object, metadata as object, proxyVideos as string, playletServerPort as integer) as void
|
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
|
||||||
' Redirect to Playet's local web server, where will will be
|
' dynamically generating the DASH manifest, instead of metadata.dashUrl
|
||||||
' dynamically generating the DASH manifest.
|
dashUrl = `http://127.0.0.1:${playletServerPort}/api/dash?v=${metadata.videoId}`
|
||||||
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
|
|
||||||
|
|
||||||
dashUrlLocal = AddLocalFlag(dashUrl)
|
dashUrlLocal = AddLocalFlag(dashUrl)
|
||||||
AddUrls(streamUrls, dashUrl, dashUrlLocal, proxyVideos)
|
AddUrls(streamUrls, dashUrl, dashUrlLocal, proxyVideos)
|
||||||
|
|||||||
@@ -12,4 +12,4 @@ hidden=1
|
|||||||
|
|
||||||
git_commit_sha=unknown
|
git_commit_sha=unknown
|
||||||
|
|
||||||
bs_const=DEBUG=false;LOCAL_DASH=true
|
bs_const=DEBUG=false
|
||||||
Reference in new issue
Block a user