Enable external encoders with internal picture source.

CL enables registering of external encoder with internal picture
source on API by adding simple passthrough parameter that is already
supported within video engine.

Review URL: https://webrtc-codereview.appspot.com/1006006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3344 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
stefan@webrtc.org
2013-01-09 08:35:40 +00:00
parent 658d423e81
commit fcd8585874
7 changed files with 18 additions and 11 deletions

View File

@@ -26,7 +26,8 @@ class ViEExternalCodecImpl
virtual int Release();
virtual int RegisterExternalSendCodec(const int video_channel,
const unsigned char pl_type,
VideoEncoder* encoder);
VideoEncoder* encoder,
bool internal_source = false);
virtual int DeRegisterExternalSendCodec(const int video_channel,
const unsigned char pl_type);
virtual int RegisterExternalReceiveCodec(const int video_channel,