Fixed progressive and rtmp sometimes not quitting correctly

This commit is contained in:
ThatGuy 2013-07-29 14:16:24 +02:00
parent 3dcdb0ccd7
commit 871d5c621f
2 changed files with 2 additions and 2 deletions

View file

@ -117,7 +117,7 @@ namespace Connector_HTTP {
continue;
}
//wait until we have a header
while ( !Strm.metadata){
while ( !Strm.metadata && ss.connected()){
if (ss.spool()){
Strm.parsePacket(ss.Received()); //read the metadata
}else{

View file

@ -551,7 +551,7 @@ namespace Connector_RTMP {
ss.setBlocking(false);
//assure metadata is received
while ( !Strm.metadata){
while ( !Strm.metadata && ss.connected()){
if (ss.spool()){
Strm.parsePacket(ss.Received()); //read the metadata
}else{