From b5eeaa92ba37249742dd35608bf2ef3c76fb4b26 Mon Sep 17 00:00:00 2001 From: "andresp@webrtc.org" Date: Tue, 23 Apr 2013 22:50:53 +0000 Subject: [PATCH] Adding extra options to interact with external encoder/decoder. Review URL: https://webrtc-codereview.appspot.com/1327006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3893 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/common_types.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webrtc/common_types.h b/webrtc/common_types.h index 7b76a391f5..fd0d1d97aa 100644 --- a/webrtc/common_types.h +++ b/webrtc/common_types.h @@ -534,6 +534,11 @@ enum VideoCodecMode { kScreensharing }; +// When using an external encoder/decoder one may need to specify extra +// options. This struct definition is left for the external implementation. +// TODO(andresp): Support for multiple external encoder/decoders. +struct ExtraCodecOptions; + // Common video codec properties struct VideoCodec { @@ -556,6 +561,7 @@ struct VideoCodec SimulcastStream simulcastStream[kMaxSimulcastStreams]; VideoCodecMode mode; + ExtraCodecOptions* extra_options; }; // Bandwidth over-use detector options. These are used to drive