Fixed H.263 and VP6 support in progressive flv
This commit is contained in:
parent
002b75d0c9
commit
2d50fe7da9
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ namespace Connector_HTTP {
|
||||||
}
|
}
|
||||||
if (Strm.lastType() == DTSC::AUDIO || Strm.lastType() == DTSC::VIDEO){
|
if (Strm.lastType() == DTSC::AUDIO || Strm.lastType() == DTSC::VIDEO){
|
||||||
std::string codec = Strm.getTrackById(Strm.getPacket()["trackid"].asInt())["codec"].asString();
|
std::string codec = Strm.getTrackById(Strm.getPacket()["trackid"].asInt())["codec"].asString();
|
||||||
if (codec == "AAC" || codec == "MP3" || codec == "H264"){
|
if (codec == "AAC" || codec == "MP3" || codec == "H264" || codec == "H263" || codec == "VP6"){
|
||||||
tag.DTSCLoader(Strm);
|
tag.DTSCLoader(Strm);
|
||||||
conn.SendNow(tag.data, tag.len); //write the tag contents
|
conn.SendNow(tag.data, tag.len); //write the tag contents
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue