Browse Source

Reset ICE timeout id on timeout

Paul-Louis Ageneau 5 years ago
parent
commit
58c8bad453
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/icetransport.cpp

+ 1 - 0
src/icetransport.cpp

@@ -288,6 +288,7 @@ void IceTransport::changeState(State state) {
 
 void IceTransport::processTimeout() {
 	PLOG_WARNING << "ICE timeout";
+	mTimeoutId = 0;
 	changeState(State::Failed);
 }