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
This commit is contained in:
andresp@webrtc.org 2013-04-23 22:50:53 +00:00
parent 1248d4effc
commit b5eeaa92ba

View File

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