URIReader optimizations/improvements, support for getHost/getBinHost functions, socket lib improvements + related improvements
This commit is contained in:
parent
4df771eb02
commit
1df76eff16
6 changed files with 70 additions and 42 deletions
|
@ -836,7 +836,7 @@ namespace Mist{
|
|||
}
|
||||
|
||||
// this is necessary so that we can get the remote IP when creating STUN replies.
|
||||
udp.SetDestination("0.0.0.0", 4444);
|
||||
udp.allocateDestination();
|
||||
|
||||
// we set parseData to `true` to start the data flow. Is also
|
||||
// used to break out of our loop in `onHTTP()`.
|
||||
|
@ -1153,7 +1153,7 @@ namespace Mist{
|
|||
// function. The `webRTCInputOutputThreadFunc()` is basically empty
|
||||
// and all work for the thread is done here.
|
||||
void OutWebRTC::handleWebRTCInputOutputFromThread(){
|
||||
udp.SetDestination("0.0.0.0", 4444);
|
||||
udp.allocateDestination();
|
||||
while (keepGoing()){
|
||||
if (!handleWebRTCInputOutput()){Util::sleep(20);}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue