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:
zhihuang
2016-05-24 10:13:32 -07:00
committed by Commit bot
parent 6670483db8
commit 6d0d4bf31d
5 changed files with 12 additions and 10 deletions

View File

@ -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";