Nieuwe flv parser, nieuwe unix sockets support...

This commit is contained in:
Thulinma 2010-11-08 15:28:56 +01:00
parent 206eb006a9
commit 2529d5c0f0
4 changed files with 156 additions and 57 deletions

View file

@ -78,6 +78,10 @@ int main( int argc, char * argv[] ) {
metabuffer = (char*)realloc(metabuffer, metabuflen);
memcpy(metabuffer, ringbuf[current_buffer]->FLV->data, metabuflen);
std::cout << "Received metadata!" << std::endl;
if (gotVideoInfo && gotAudioInfo){
All_Hell_Broke_Loose = true;
std::cout << "... after proper video and audio? Cancelling broadcast!" << std::endl;
}
gotVideoInfo = false;
gotAudioInfo = false;
}