This commit is contained in:
Thulinma 2011-04-17 00:58:51 +02:00
parent 815b147352
commit b617ce6947

View file

@ -274,7 +274,7 @@ void Connector_RTMP::parseChunk(){
int tmpint; int tmpint;
double objencoding = 0; double objencoding = 0;
if (amfdata.getContentP(2)->getContentP("objectencoding")){ if (amfdata.getContentP(2)->getContentP("objectencoding")){
objencoding = amfdata.getContentP(2)->getContentP("objectencoding")->NumValue(); objencoding = amfdata.getContentP(2)->getContentP("objectEncoding")->NumValue();
} }
tmpint = amfdata.getContentP(2)->getContentP("videoCodecs")->NumValue(); tmpint = amfdata.getContentP(2)->getContentP("videoCodecs")->NumValue();
if (tmpint & 0x04){fprintf(stderr, "Sorensen video support detected\n");} if (tmpint & 0x04){fprintf(stderr, "Sorensen video support detected\n");}