Fixed progressive and rtmp sometimes not quitting correctly
This commit is contained in:
parent
3dcdb0ccd7
commit
871d5c621f
2 changed files with 2 additions and 2 deletions
|
@ -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{
|
||||
|
|
|
@ -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{
|
||||
|
|
Loading…
Add table
Reference in a new issue