Change the size of the ICE ufrag to 4 bytes.
This is the minumum allowed size, and will allow STUN pings to be smaller. The unit tests on the the Gturn are also modified. A username with length of 16 bytes will be generated for Gturn only. Review-Url: https://codereview.webrtc.org/1848083002 Cr-Commit-Position: refs/heads/master@{#12876}
This commit is contained in:
@ -64,7 +64,7 @@ static const int kMinPort = 10000;
|
||||
static const int kMaxPort = 10099;
|
||||
|
||||
// Based on ICE_UFRAG_LENGTH
|
||||
static const char kIceUfrag0[] = "TESTICEUFRAG0000";
|
||||
static const char kIceUfrag0[] = "UF00";
|
||||
// Based on ICE_PWD_LENGTH
|
||||
static const char kIcePwd0[] = "TESTICEPWD00000000000000";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user