Chromium Code Reviews| Index: webrtc/p2p/client/basicportallocator.cc |
| diff --git a/webrtc/p2p/client/basicportallocator.cc b/webrtc/p2p/client/basicportallocator.cc |
| index 549d013a255bb54b2a42c472dcfe1d1612413c26..499bda13115d819a0a3ce008a0f417b53ca59995 100644 |
| --- a/webrtc/p2p/client/basicportallocator.cc |
| +++ b/webrtc/p2p/client/basicportallocator.cc |
| @@ -47,10 +47,11 @@ const int PHASE_SSLTCP = 3; |
| const int kNumPhases = 4; |
| -// Gets protocol priority: UDP > TCP > SSLTCP. |
| +// Gets protocol priority: UDP == TLS > TCP > SSLTCP. |
| int GetProtocolPriority(cricket::ProtocolType protocol) { |
| switch (protocol) { |
| case cricket::PROTO_UDP: |
| + case cricket::PROTO_TLS: |
|
honghaiz3
2017/06/27 20:56:30
Maybe consider PROTO_UDP to be 3?
|
| return 2; |
| case cricket::PROTO_TCP: |
| return 1; |