Fixed H.263 and VP6 support in progressive flv

This commit is contained in:
Erik Zandvliet 2013-09-30 09:47:42 +02:00
parent 002b75d0c9
commit 2d50fe7da9

View file

@ -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
} }