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

Unified Diff: webrtc/media/engine/fakewebrtcvideoengine.h

Issue 2497773003: Use different RTX payload types for different H264 profiles (Closed)
Patch Set: Fix bug and add test. Created 4 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 | « webrtc/media/base/mediaconstants.cc ('k') | webrtc/media/engine/payload_type_mapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/fakewebrtcvideoengine.h
diff --git a/webrtc/media/engine/fakewebrtcvideoengine.h b/webrtc/media/engine/fakewebrtcvideoengine.h
index 008f7a12d23ceefc3b4b33b70252e5324baa28e2..a3fb30ce1602047828cb5edf63c597d1ca5241f5 100644
--- a/webrtc/media/engine/fakewebrtcvideoengine.h
+++ b/webrtc/media/engine/fakewebrtcvideoengine.h
@@ -233,6 +233,10 @@ class FakeWebRtcVideoEncoderFactory : public WebRtcVideoEncoderFactory {
encoders_have_internal_sources_ = internal_source;
}
+ void AddSupportedVideoCodec(const cricket::VideoCodec& codec) {
+ codecs_.push_back(codec);
+ }
+
void AddSupportedVideoCodecType(const std::string& name) {
codecs_.push_back(cricket::VideoCodec(name));
}
« no previous file with comments | « webrtc/media/base/mediaconstants.cc ('k') | webrtc/media/engine/payload_type_mapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698