Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Agent handles any inbound package (as opposed to STUN only) #370
This way, we update lastReceived properly, not just for STUN messages.
We are using lastReceived to check for a connection timeout (https://github.com/pions/webrtc/blob/master/pkg/ice/agent.go#L442) but the problem was we were not updating lastReceived for non STUN messages
Pull Request Test Coverage Report for Build 1836