| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2011 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 static const char kSdpTcpSOCandidate[] = | 687 static const char kSdpTcpSOCandidate[] = |
| 688 "candidate:a0+B/1 1 tcp 2130706432 192.168.1.5 9 typ host " | 688 "candidate:a0+B/1 1 tcp 2130706432 192.168.1.5 9 typ host " |
| 689 "tcptype so generation 2"; | 689 "tcptype so generation 2"; |
| 690 static const char kSdpTcpInvalidCandidate[] = | 690 static const char kSdpTcpInvalidCandidate[] = |
| 691 "candidate:a0+B/1 1 tcp 2130706432 192.168.1.5 9 typ host " | 691 "candidate:a0+B/1 1 tcp 2130706432 192.168.1.5 9 typ host " |
| 692 "tcptype invalid generation 2"; | 692 "tcptype invalid generation 2"; |
| 693 | 693 |
| 694 // One candidate reference string with IPV6 address. | 694 // One candidate reference string with IPV6 address. |
| 695 static const char kRawIPV6Candidate[] = | 695 static const char kRawIPV6Candidate[] = |
| 696 "candidate:a0+B/1 1 udp 2130706432 " | 696 "candidate:a0+B/1 1 udp 2130706432 " |
| 697 "abcd::abcd::abcd::abcd::abcd::abcd::abcd::abcd 1234 typ host generation 2"; | 697 "abcd:abcd:abcd:abcd:abcd:abcd:abcd:abcd 1234 typ host generation 2"; |
| 698 | 698 |
| 699 // One candidate reference string. | 699 // One candidate reference string. |
| 700 static const char kSdpOneCandidateWithUfragPwd[] = | 700 static const char kSdpOneCandidateWithUfragPwd[] = |
| 701 "a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1234 typ host network_name" | 701 "a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1234 typ host network_name" |
| 702 " eth0 ufrag user_rtp pwd password_rtp generation 2\r\n"; | 702 " eth0 ufrag user_rtp pwd password_rtp generation 2\r\n"; |
| 703 | 703 |
| 704 // Session id and version | 704 // Session id and version |
| 705 static const char kSessionId[] = "18446744069414584320"; | 705 static const char kSessionId[] = "18446744069414584320"; |
| 706 static const char kSessionVersion[] = "18446462598732840960"; | 706 static const char kSessionVersion[] = "18446462598732840960"; |
| 707 | 707 |
| (...skipping 2793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3501 EXPECT_TRUE(SdpDeserialize(message, &jdesc)); | 3501 EXPECT_TRUE(SdpDeserialize(message, &jdesc)); |
| 3502 auto audio_desc = static_cast<cricket::MediaContentDescription*>( | 3502 auto audio_desc = static_cast<cricket::MediaContentDescription*>( |
| 3503 jdesc.description()->GetContentByName(kAudioContentName)->description); | 3503 jdesc.description()->GetContentByName(kAudioContentName)->description); |
| 3504 auto video_desc = static_cast<cricket::MediaContentDescription*>( | 3504 auto video_desc = static_cast<cricket::MediaContentDescription*>( |
| 3505 jdesc.description()->GetContentByName(kVideoContentName)->description); | 3505 jdesc.description()->GetContentByName(kVideoContentName)->description); |
| 3506 EXPECT_EQ(audio_desc_->connection_address().ToString(), | 3506 EXPECT_EQ(audio_desc_->connection_address().ToString(), |
| 3507 audio_desc->connection_address().ToString()); | 3507 audio_desc->connection_address().ToString()); |
| 3508 EXPECT_EQ(video_desc_->connection_address().ToString(), | 3508 EXPECT_EQ(video_desc_->connection_address().ToString(), |
| 3509 video_desc->connection_address().ToString()); | 3509 video_desc->connection_address().ToString()); |
| 3510 } | 3510 } |
| OLD | NEW |