| 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 |
| 11 // This file contain functions for parsing and serializing SDP messages. | 11 // This file contain functions for parsing and serializing SDP messages. |
| 12 // Related RFC/draft including: | 12 // Related RFC/draft including: |
| 13 // * RFC 4566 - SDP | 13 // * RFC 4566 - SDP |
| 14 // * RFC 5245 - ICE | 14 // * RFC 5245 - ICE |
| 15 // * RFC 3388 - Grouping of Media Lines in SDP | 15 // * RFC 3388 - Grouping of Media Lines in SDP |
| 16 // * RFC 4568 - SDP Security Descriptions for Media Streams | 16 // * RFC 4568 - SDP Security Descriptions for Media Streams |
| 17 // * draft-lennox-mmusic-sdp-source-selection-02 - | 17 // * draft-lennox-mmusic-sdp-source-selection-02 - |
| 18 // Mechanisms for Media Source Selection in SDP | 18 // Mechanisms for Media Source Selection in SDP |
| 19 | 19 |
| 20 #ifndef WEBRTC_API_WEBRTCSDP_H_ | 20 #ifndef WEBRTC_PC_WEBRTCSDP_H_ |
| 21 #define WEBRTC_API_WEBRTCSDP_H_ | 21 #define WEBRTC_PC_WEBRTCSDP_H_ |
| 22 | 22 |
| 23 #include <string> | 23 #include <string> |
| 24 | 24 |
| 25 namespace cricket { | 25 namespace cricket { |
| 26 class Candidate; | 26 class Candidate; |
| 27 } // namespace cricket | 27 } // namespace cricket |
| 28 | 28 |
| 29 namespace webrtc { | 29 namespace webrtc { |
| 30 class IceCandidateInterface; | 30 class IceCandidateInterface; |
| 31 class JsepIceCandidate; | 31 class JsepIceCandidate; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // candidate - The cricket Candidate from the SDP string. | 77 // candidate - The cricket Candidate from the SDP string. |
| 78 // error - The detail error information when parsing fails. | 78 // error - The detail error information when parsing fails. |
| 79 // return - true on success, false on failure. | 79 // return - true on success, false on failure. |
| 80 bool SdpDeserializeCandidate(const std::string& transport_name, | 80 bool SdpDeserializeCandidate(const std::string& transport_name, |
| 81 const std::string& message, | 81 const std::string& message, |
| 82 cricket::Candidate* candidate, | 82 cricket::Candidate* candidate, |
| 83 SdpParseError* error); | 83 SdpParseError* error); |
| 84 | 84 |
| 85 } // namespace webrtc | 85 } // namespace webrtc |
| 86 | 86 |
| 87 #endif // WEBRTC_API_WEBRTCSDP_H_ | 87 #endif // WEBRTC_PC_WEBRTCSDP_H_ |
| OLD | NEW |