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

Unified Diff: webrtc/config.cc

Issue 2397843005: Add FlexfecReceiveStream. (Closed)
Patch Set: Add FlexfecReceiveStream. Created 4 years, 2 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
« webrtc/config.h ('K') | « webrtc/config.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/config.cc
diff --git a/webrtc/config.cc b/webrtc/config.cc
index 0331c0a8332977af9ed035cb73ff1c0cef4a51ca..a797fed02c6d44ae26e17a01e71a9cf2fece3b6b 100644
--- a/webrtc/config.cc
+++ b/webrtc/config.cc
@@ -31,6 +31,15 @@ std::string UlpfecConfig::ToString() const {
return ss.str();
}
+std::string FlexfecConfig::ToString() const {
+ std::stringstream ss;
+ ss << "{flexfec_payload_type: " << flexfec_payload_type;
+ ss << ", flexfec_ssrc: " << flexfec_ssrc;
+ ss << ", protected_media_ssrc: " << protected_media_ssrc;
+ ss << '}';
+ return ss.str();
+}
+
std::string RtpExtension::ToString() const {
std::stringstream ss;
ss << "{uri: " << uri;
« webrtc/config.h ('K') | « webrtc/config.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698