|
|
@ -4157,7 +4157,7 @@ get "/api/manifest/dash/id/:id" do |env|
|
|
|
|
bandwidth = fmt["bitrate"]
|
|
|
|
bandwidth = fmt["bitrate"]
|
|
|
|
itag = fmt["itag"]
|
|
|
|
itag = fmt["itag"]
|
|
|
|
url = fmt["url"]
|
|
|
|
url = fmt["url"]
|
|
|
|
height, width = fmt["size"].split("x")
|
|
|
|
width, height = fmt["size"].split("x")
|
|
|
|
|
|
|
|
|
|
|
|
xml.element("Representation", id: itag, codecs: codecs, width: width, height: height,
|
|
|
|
xml.element("Representation", id: itag, codecs: codecs, width: width, height: height,
|
|
|
|
startWithSAP: "1", maxPlayoutRate: "1",
|
|
|
|
startWithSAP: "1", maxPlayoutRate: "1",
|
|
|
|