OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 // This file contain functions for parsing and serializing SDP messages. | 28 // This file contain functions for parsing and serializing SDP messages. |
29 // Related RFC/draft including: | 29 // Related RFC/draft including: |
30 // * RFC 4566 - SDP | 30 // * RFC 4566 - SDP |
31 // * RFC 5245 - ICE | 31 // * RFC 5245 - ICE |
32 // * RFC 3388 - Grouping of Media Lines in SDP | 32 // * RFC 3388 - Grouping of Media Lines in SDP |
33 // * RFC 4568 - SDP Security Descriptions for Media Streams | 33 // * RFC 4568 - SDP Security Descriptions for Media Streams |
34 // * draft-lennox-mmusic-sdp-source-selection-02 - | 34 // * draft-lennox-mmusic-sdp-source-selection-02 - |
35 // Mechanisms for Media Source Selection in SDP | 35 // Mechanisms for Media Source Selection in SDP |
36 | 36 |
37 #ifndef TALK_APP_WEBRTC_WEBRTCSDP_H_ | 37 #ifndef WEBRTC_API_WEBRTCSDP_H_ |
38 #define TALK_APP_WEBRTC_WEBRTCSDP_H_ | 38 #define WEBRTC_API_WEBRTCSDP_H_ |
39 | 39 |
40 #include <string> | 40 #include <string> |
41 | 41 |
42 namespace webrtc { | 42 namespace webrtc { |
43 | 43 |
44 class IceCandidateInterface; | 44 class IceCandidateInterface; |
45 class JsepIceCandidate; | 45 class JsepIceCandidate; |
46 class JsepSessionDescription; | 46 class JsepSessionDescription; |
47 struct SdpParseError; | 47 struct SdpParseError; |
48 | 48 |
(...skipping 22 matching lines...) Expand all Loading... |
71 // parsed. | 71 // parsed. |
72 // message - The SDP string to be Deserialized. | 72 // message - The SDP string to be Deserialized. |
73 // candidates - The JsepIceCandidate from the SDP string. | 73 // candidates - The JsepIceCandidate from the SDP string. |
74 // error - The detail error information when parsing fails. | 74 // error - The detail error information when parsing fails. |
75 // return - true on success, false on failure. | 75 // return - true on success, false on failure. |
76 bool SdpDeserializeCandidate(const std::string& message, | 76 bool SdpDeserializeCandidate(const std::string& message, |
77 JsepIceCandidate* candidate, | 77 JsepIceCandidate* candidate, |
78 SdpParseError* error); | 78 SdpParseError* error); |
79 } // namespace webrtc | 79 } // namespace webrtc |
80 | 80 |
81 #endif // TALK_APP_WEBRTC_WEBRTCSDP_H_ | 81 #endif // WEBRTC_API_WEBRTCSDP_H_ |
OLD | NEW |