#include <media.hpp>
This structure contains parameters for VideoPreview::start()
◆ VideoPreviewOpParam()
pj::VideoPreviewOpParam::VideoPreviewOpParam |
( |
| ) |
|
Default constructor initializes with default values.
◆ fromPj()
◆ toPj()
◆ rendId
Device ID for the video renderer to be used for rendering the capture stream for preview. This parameter is ignored if native preview is being used.
Default: PJMEDIA_VID_DEFAULT_RENDER_DEV
◆ show
bool pj::VideoPreviewOpParam::show |
Show window initially.
Default: PJ_TRUE.
◆ windowFlags
unsigned pj::VideoPreviewOpParam::windowFlags |
Window flags. The value is a bitmask combination of pjmedia_vid_dev_wnd_flag.
Default: 0.
◆ format
Media format. If left unitialized, this parameter will not be used.
◆ window
Optional output window to be used to display the video preview. This parameter will only be used if the video device supports PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW capability and the capability is not read-only.
The documentation for this struct was generated from the following file: