| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2017 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 // capabilities to RtpCapabilities, or to convert from already-parsed SDP | 76 // capabilities to RtpCapabilities, or to convert from already-parsed SDP |
| 77 // (in the form of cricket:: structures) to webrtc:: structures. The latter | 77 // (in the form of cricket:: structures) to webrtc:: structures. The latter |
| 78 // functionality is not yet implemented. | 78 // functionality is not yet implemented. |
| 79 //***************************************************************************** | 79 //***************************************************************************** |
| 80 | 80 |
| 81 // Returns empty value if |cricket_feedback| is a feedback type not | 81 // Returns empty value if |cricket_feedback| is a feedback type not |
| 82 // supported/recognized. | 82 // supported/recognized. |
| 83 rtc::Optional<RtcpFeedback> ToRtcpFeedback( | 83 rtc::Optional<RtcpFeedback> ToRtcpFeedback( |
| 84 const cricket::FeedbackParam& cricket_feedback); | 84 const cricket::FeedbackParam& cricket_feedback); |
| 85 | 85 |
| 86 std::vector<RtpEncodingParameters> ToRtpEncodings( |
| 87 const cricket::StreamParamsVec& stream_params); |
| 88 |
| 89 template <typename C> |
| 90 RtpCodecParameters ToRtpCodecParameters(const C& cricket_codec); |
| 91 |
| 86 template <typename C> | 92 template <typename C> |
| 87 RtpCodecCapability ToRtpCodecCapability(const C& cricket_codec); | 93 RtpCodecCapability ToRtpCodecCapability(const C& cricket_codec); |
| 88 | 94 |
| 89 template <class C> | 95 template <class C> |
| 90 RtpCapabilities ToRtpCapabilities( | 96 RtpCapabilities ToRtpCapabilities( |
| 91 const std::vector<C>& cricket_codecs, | 97 const std::vector<C>& cricket_codecs, |
| 92 const cricket::RtpHeaderExtensions& cricket_extensions); | 98 const cricket::RtpHeaderExtensions& cricket_extensions); |
| 93 | 99 |
| 100 template <class C> |
| 101 RtpParameters ToRtpParameters( |
| 102 const std::vector<C>& cricket_codecs, |
| 103 const cricket::RtpHeaderExtensions& cricket_extensions, |
| 104 const cricket::StreamParamsVec& stream_params); |
| 105 |
| 94 } // namespace webrtc | 106 } // namespace webrtc |
| 95 | 107 |
| 96 #endif // WEBRTC_ORTC_RTPPARAMETERSCONVERSION_H_ | 108 #endif // WEBRTC_ORTC_RTPPARAMETERSCONVERSION_H_ |
| OLD | NEW |