Index: webrtc/media/engine/webrtcvideoengine.h |
diff --git a/webrtc/media/engine/webrtcvideoengine.h b/webrtc/media/engine/webrtcvideoengine.h |
index f53105e959aab54f47f3146f47154edd1a9b46f8..8249eb2d92855c530543c54ee990dccc70ccf8c8 100644 |
--- a/webrtc/media/engine/webrtcvideoengine.h |
+++ b/webrtc/media/engine/webrtcvideoengine.h |
@@ -37,7 +37,9 @@ |
namespace webrtc { |
class VideoDecoder; |
+class VideoDecoderFactory; |
class VideoEncoder; |
+class VideoEncoderFactory; |
struct MediaConfig; |
} |
@@ -101,6 +103,13 @@ class WebRtcVideoEngine { |
// video factories are separate from the internal software codecs. |
WebRtcVideoEngine(WebRtcVideoEncoderFactory* external_video_encoder_factory, |
WebRtcVideoDecoderFactory* external_video_decoder_factory); |
+ |
+ // These video codec factories represents all video codecs, i.e. both software |
+ // and external hardware codecs. |
+ WebRtcVideoEngine( |
+ std::unique_ptr<webrtc::VideoEncoderFactory> video_encoder_factory, |
+ std::unique_ptr<webrtc::VideoDecoderFactory> video_decoder_factory); |
+ |
virtual ~WebRtcVideoEngine(); |
WebRtcVideoChannel* CreateChannel(webrtc::Call* call, |