Fix broken video playback by forcing fmp4
This commit is contained in:
parent
583c858cdf
commit
52db03b73a
|
@ -31,7 +31,9 @@ proc getHmac*(data: string): string =
|
|||
|
||||
proc getVidUrl*(link: string): string =
|
||||
if link.len == 0: return
|
||||
let sig = getHmac(link)
|
||||
let
|
||||
link = link.replace("cmaf", "fmp4")
|
||||
sig = getHmac(link)
|
||||
if base64Media:
|
||||
&"/video/enc/{sig}/{encode(link, safe=true)}"
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue