Skip to content

Commit

Permalink
Proxy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
grishka committed Aug 27, 2018
1 parent 23ae673 commit bfa1e6a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion VoIPController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,10 @@ VoIPController::VoIPController() : activeNetItfName(""),
machTimestart=0;
#endif

sendQueue->SetOverflowCallback([](PendingOutgoingPacket p){
LOGW("Dropping outgoing packet (type %d seq %d) from queue", p.type, p.seq);
});

shared_ptr<Stream> stm=make_shared<Stream>();
stm->id=1;
stm->type=STREAM_TYPE_AUDIO;
Expand Down Expand Up @@ -762,7 +766,7 @@ void VoIPController::RunRecvThread(void* arg){

vector<NetworkSocket*> readSockets;
vector<NetworkSocket*> errorSockets;
readSockets.push_back(realUdpSocket);
readSockets.push_back(udpSocket);
errorSockets.push_back(realUdpSocket);

{
Expand Down

0 comments on commit bfa1e6a

Please sign in to comment.