Fix a case where empty candidate id is used
BUG=4161 R=juberti@webrtc.org Committed: https://code.google.com/p/webrtc/source/detail?r=8071 Review URL: https://webrtc-codereview.appspot.com/35749004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@8079 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -516,7 +516,7 @@ void P2PTransportChannel::OnUnknownAddress(
|
||||
rtc::ToString<uint32>(rtc::ComputeCrc32(new_remote_candidate.id())));
|
||||
|
||||
new_remote_candidate.set_priority(new_remote_candidate.GetPriority(
|
||||
ICE_TYPE_PREFERENCE_SRFLX, port->Network()->preference(), 0));
|
||||
ICE_TYPE_PREFERENCE_PRFLX, port->Network()->preference(), 0));
|
||||
}
|
||||
|
||||
if (port->IceProtocol() == ICEPROTO_RFC5245) {
|
||||
|
Reference in New Issue
Block a user