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:
@@ -534,6 +534,11 @@ enum VideoCodecMode {
|
|||||||
kScreensharing
|
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
|
// Common video codec properties
|
||||||
struct VideoCodec
|
struct VideoCodec
|
||||||
{
|
{
|
||||||
@@ -556,6 +561,7 @@ struct VideoCodec
|
|||||||
SimulcastStream simulcastStream[kMaxSimulcastStreams];
|
SimulcastStream simulcastStream[kMaxSimulcastStreams];
|
||||||
|
|
||||||
VideoCodecMode mode;
|
VideoCodecMode mode;
|
||||||
|
ExtraCodecOptions* extra_options;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Bandwidth over-use detector options. These are used to drive
|
// Bandwidth over-use detector options. These are used to drive
|
||||||
|
|||||||
Reference in New Issue
Block a user