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

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

Issue 2052233002: Enable passing receive stream ID to the decoder factory. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Changes according to perkj's comments Created 4 years, 6 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/media/engine/webrtcvideoengine2.h » ('j') | webrtc/media/engine/webrtcvideoengine2.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/webrtcvideodecoderfactory.h
diff --git a/webrtc/media/engine/webrtcvideodecoderfactory.h b/webrtc/media/engine/webrtcvideodecoderfactory.h
index c739096ac5c190671432b3259033ceff11489455..3b54bdec8e911d26638b3f80e695a457fc3bc3b3 100644
--- a/webrtc/media/engine/webrtcvideodecoderfactory.h
+++ b/webrtc/media/engine/webrtcvideodecoderfactory.h
@@ -26,6 +26,11 @@ class WebRtcVideoDecoderFactory {
// by calling DestroyVideoDecoder().
virtual webrtc::VideoDecoder* CreateVideoDecoder(
webrtc::VideoCodecType type) = 0;
+ virtual webrtc::VideoDecoder* CreateVideoDecoderForSsrc(
pthatcher1 2016/06/14 18:06:32 This doesn't seem right to me. Why would a video
noahric 2016/06/14 18:26:21 That's specifically the problem on android. The op
pthatcher1 2016/06/14 18:59:15 I still don't see why it needs to know SSRCs. Thi
+ uint32_t ssrc,
pthatcher1 2016/06/14 18:06:32 And if we do pass in metadata about the frames tha
noahric 2016/06/14 18:26:21 There isn't only one implementation. This is a pub
pthatcher1 2016/06/14 18:59:15 Sure you can. You might have to have a little tra
+ webrtc::VideoCodecType type) {
+ return CreateVideoDecoder(type);
+ }
virtual ~WebRtcVideoDecoderFactory() {}
virtual void DestroyVideoDecoder(webrtc::VideoDecoder* decoder) = 0;
« no previous file with comments | « no previous file | webrtc/media/engine/webrtcvideoengine2.h » ('j') | webrtc/media/engine/webrtcvideoengine2.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698