Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: webrtc/ortc/rtpparametersconversion.h

Issue 2735853004: Add the function ToRtpParameters. (Closed)
Patch Set: Modified the unit tests. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/ortc/rtpparametersconversion.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/ortc/rtpparametersconversion.h
diff --git a/webrtc/ortc/rtpparametersconversion.h b/webrtc/ortc/rtpparametersconversion.h
index a466895bf49d7582032814e673ff6a6dc716d98a..d2c91299ef6255af87bcf2e82dec708f21d3bdc4 100644
--- a/webrtc/ortc/rtpparametersconversion.h
+++ b/webrtc/ortc/rtpparametersconversion.h
@@ -83,6 +83,12 @@ RTCErrorOr<cricket::StreamParamsVec> ToCricketStreamParamsVec(
rtc::Optional<RtcpFeedback> ToRtcpFeedback(
const cricket::FeedbackParam& cricket_feedback);
+std::vector<RtpEncodingParameters> ToRtpEncodings(
+ const cricket::StreamParamsVec& stream_params);
+
+template <typename C>
+RtpCodecParameters ToRtpCodecParameters(const C& cricket_codec);
+
template <typename C>
RtpCodecCapability ToRtpCodecCapability(const C& cricket_codec);
@@ -91,6 +97,12 @@ RtpCapabilities ToRtpCapabilities(
const std::vector<C>& cricket_codecs,
const cricket::RtpHeaderExtensions& cricket_extensions);
+template <class C>
+RtpParameters ToRtpParameters(
+ const std::vector<C>& cricket_codecs,
+ const cricket::RtpHeaderExtensions& cricket_extensions,
+ const cricket::StreamParamsVec& stream_params);
+
} // namespace webrtc
#endif // WEBRTC_ORTC_RTPPARAMETERSCONVERSION_H_
« no previous file with comments | « no previous file | webrtc/ortc/rtpparametersconversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698