Add logging for sending and receiving STUN binding requests and TURN requests and responses.
BUG= R=guoweis@webrtc.org Review URL: https://webrtc-codereview.appspot.com/46189004 Cr-Commit-Position: refs/heads/master@{#9195}
This commit is contained in:
@ -105,7 +105,10 @@ class StunRequest : public rtc::MessageHandler {
|
||||
virtual void OnResponse(StunMessage* response) {}
|
||||
virtual void OnErrorResponse(StunMessage* response) {}
|
||||
virtual void OnTimeout() {}
|
||||
virtual int GetNextDelay();
|
||||
// Called when the message is sent.
|
||||
virtual void OnSent();
|
||||
// Returns the next delay for resends.
|
||||
virtual int resend_delay();
|
||||
|
||||
private:
|
||||
void set_manager(StunRequestManager* manager);
|
||||
|
||||
Reference in New Issue
Block a user