Fixed HDS bit rate
This commit is contained in:
parent
1d2dbd1be0
commit
25a60e4ca3
1 changed files with 2 additions and 1 deletions
|
@ -117,7 +117,8 @@ namespace Mist {
|
|||
"</bootstrapInfo>" << std::endl;
|
||||
Result << " <media "
|
||||
"url=\"" << (*it) << "-\" "
|
||||
"bitrate=\"" << myMeta.tracks[(*it)].bps * 8 << "\" "
|
||||
//bitrate in kbit/s, we have bps so divide by 128
|
||||
"bitrate=\"" << (myMeta.tracks[(*it)].bps / 128) << "\" "
|
||||
"bootstrapInfoId=\"boot" << (*it) << "\" "
|
||||
"width=\"" << myMeta.tracks[(*it)].width << "\" "
|
||||
"height=\"" << myMeta.tracks[(*it)].height << "\">" << std::endl;
|
||||
|
|
Loading…
Add table
Reference in a new issue