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; |