Fixed a few minor typing mistakes in HTTP Dynamic.
This commit is contained in:
parent
622b3ca100
commit
86a7d74768
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ namespace Connector_HTTP{
|
||||||
abst.SetMediaTime(1000*metadata["length"].asInt());
|
abst.SetMediaTime(1000*metadata["length"].asInt());
|
||||||
}else{
|
}else{
|
||||||
abst.SetLive(true);
|
abst.SetLive(true);
|
||||||
abst.SetMediaTime(0);
|
abst.SetMediaTime(0xFFFFFFFF);
|
||||||
}
|
}
|
||||||
abst.SetUpdate(false);
|
abst.SetUpdate(false);
|
||||||
abst.SetTimeScale(1000);
|
abst.SetTimeScale(1000);
|
||||||
|
@ -95,7 +95,7 @@ namespace Connector_HTTP{
|
||||||
"<mimeType>video/mp4</mimeType>\n"
|
"<mimeType>video/mp4</mimeType>\n"
|
||||||
"<streamType>live</streamType>\n"
|
"<streamType>live</streamType>\n"
|
||||||
"<deliveryType>streaming</deliveryType>\n"
|
"<deliveryType>streaming</deliveryType>\n"
|
||||||
"<bootstrapInfo profile=\"named\" id=\"bootstrap1\">" + Base64::encode(MP4::GenerateLiveBootstrap(metadata)) + "</bootstrapInfo>\n"
|
"<bootstrapInfo profile=\"named\" id=\"bootstrap1\">" + GenerateBootstrap(MovieId, metadata) + "</bootstrapInfo>\n"
|
||||||
"<media streamId=\"1\" bootstrapInfoId=\"bootstrap1\" url=\"" + MovieId + "/\"></media>\n"
|
"<media streamId=\"1\" bootstrapInfoId=\"bootstrap1\" url=\"" + MovieId + "/\"></media>\n"
|
||||||
"</manifest>\n";
|
"</manifest>\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue