diff options
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia-videodev/config.h | 19 | ||||
-rw-r--r-- | pjmedia/include/pjmedia-videodev/videodev.h | 11 |
2 files changed, 24 insertions, 6 deletions
diff --git a/pjmedia/include/pjmedia-videodev/config.h b/pjmedia/include/pjmedia-videodev/config.h index 1e097cd7..fcb0b0c8 100644 --- a/pjmedia/include/pjmedia-videodev/config.h +++ b/pjmedia/include/pjmedia-videodev/config.h @@ -55,6 +55,25 @@ PJ_BEGIN_DECL #if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) /** + * This setting controls the maximum number of supported video device drivers. + * + * Default: 8 + */ +#ifndef PJMEDIA_VID_DEV_MAX_DRIVERS +# define PJMEDIA_VID_DEV_MAX_DRIVERS 8 +#endif + +/** + * This setting controls the maximum number of supported video devices. + * + * Default: 16 + */ +#ifndef PJMEDIA_VID_DEV_MAX_DEVS +# define PJMEDIA_VID_DEV_MAX_DEVS 16 +#endif + + +/** * This setting controls whether OpenGL for iOS should be included. * * Default: 0 (or detected by configure) diff --git a/pjmedia/include/pjmedia-videodev/videodev.h b/pjmedia/include/pjmedia-videodev/videodev.h index f1f08b63..21fba158 100644 --- a/pjmedia/include/pjmedia-videodev/videodev.h +++ b/pjmedia/include/pjmedia-videodev/videodev.h @@ -240,12 +240,11 @@ typedef enum pjmedia_vid_dev_cap PJMEDIA_VID_DEV_CAP_INPUT_PREVIEW = 64, /** - * Support for changing video orientation in renderer and querying - * video orientation info in capture. Changing video orientation in - * a renderer will potentially affect the size of render window, - * i.e: width and height swap. When a capture device supports this - * capability, it will generate event PJMEDIA_EVENT_ORIENT_CHANGED - * (see #pjmedia_event) everytime the capture orientation is changed. + * Support for changing video orientation. For a renderer device, + * changing video orientation in will potentially affect the size of + * render window, i.e: width and height swap. For a capture device, + * the video will be rotated but the size of the video frame + * will stay the same, so the video may be resized or stretched. * * The value of this capability is pjmedia_orient. */ |