Fixed HLS init.
This commit is contained in:
parent
0fbcd97309
commit
b68df4f2dd
1 changed files with 1 additions and 2 deletions
|
@ -205,8 +205,7 @@ namespace Mist {
|
||||||
fillPacket(first, bs.data(), bs.size(), VideoCounter);
|
fillPacket(first, bs.data(), bs.size(), VideoCounter);
|
||||||
if (myMeta.tracks[currentPacket.getTrackId()].codec == "H264"){
|
if (myMeta.tracks[currentPacket.getTrackId()].codec == "H264"){
|
||||||
//End of previous nal unit, somehow needed for h264
|
//End of previous nal unit, somehow needed for h264
|
||||||
bs = "\000\000\000\001\011\360";
|
fillPacket(first, "\000\000\000\001\011\360", 6, VideoCounter);
|
||||||
fillPacket(first, bs.data(), bs.size(),VideoCounter);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue