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

Unified Diff: talk/media/base/codec.cc

Issue 1452883002: Require negotiation to send transport cc feedback over RTCP. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Comments addressed Created 5 years, 1 month 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 | « talk/media/base/codec.h ('k') | talk/media/base/constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/base/codec.cc
diff --git a/talk/media/base/codec.cc b/talk/media/base/codec.cc
index 5b747d1917fa02db258cbf45d567410e8fca81c7..5fbae2c45e68990f2762a7f20bf32c633ab25505 100644
--- a/talk/media/base/codec.cc
+++ b/talk/media/base/codec.cc
@@ -334,6 +334,11 @@ bool HasRemb(const VideoCodec& codec) {
FeedbackParam(kRtcpFbParamRemb, kParamValueEmpty));
}
+bool HasTransportCc(const VideoCodec& codec) {
+ return codec.HasFeedbackParam(
+ FeedbackParam(kRtcpFbParamTransportCc, kParamValueEmpty));
+}
+
bool CodecNamesEq(const std::string& name1, const std::string& name2) {
return _stricmp(name1.c_str(), name2.c_str()) == 0;
}
« no previous file with comments | « talk/media/base/codec.h ('k') | talk/media/base/constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698