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;
|
continue;
|
||||||
}
|
}
|
||||||
//wait until we have a header
|
//wait until we have a header
|
||||||
while ( !Strm.metadata){
|
while ( !Strm.metadata && ss.connected()){
|
||||||
if (ss.spool()){
|
if (ss.spool()){
|
||||||
Strm.parsePacket(ss.Received()); //read the metadata
|
Strm.parsePacket(ss.Received()); //read the metadata
|
||||||
}else{
|
}else{
|
||||||
|
|
|
@ -551,7 +551,7 @@ namespace Connector_RTMP {
|
||||||
ss.setBlocking(false);
|
ss.setBlocking(false);
|
||||||
|
|
||||||
//assure metadata is received
|
//assure metadata is received
|
||||||
while ( !Strm.metadata){
|
while ( !Strm.metadata && ss.connected()){
|
||||||
if (ss.spool()){
|
if (ss.spool()){
|
||||||
Strm.parsePacket(ss.Received()); //read the metadata
|
Strm.parsePacket(ss.Received()); //read the metadata
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Add table
Reference in a new issue