#include <call.hpp>
This structure contains parameters for Call::vidSetStream()
◆ CallVidSetStreamParam()
pj::CallVidSetStreamParam::CallVidSetStreamParam |
( |
| ) |
|
◆ medIdx
int pj::CallVidSetStreamParam::medIdx |
Specify the media stream index. This can be set to -1 to denote the default video stream in the call, which is the first active video stream or any first video stream if none is active.
This field is valid for all video stream operations, except PJSUA_CALL_VID_STRM_ADD.
Default: -1 (first active video stream, or any first video stream if none is active)
◆ dir
Specify the media stream direction.
This field is valid for the following video stream operations: PJSUA_CALL_VID_STRM_ADD and PJSUA_CALL_VID_STRM_CHANGE_DIR.
Default: PJMEDIA_DIR_ENCODING_DECODING
◆ capDev
Specify the video capture device ID. This can be set to PJMEDIA_VID_DEFAULT_CAPTURE_DEV to specify the default capture device as configured in the account.
This field is valid for the following video stream operations: PJSUA_CALL_VID_STRM_ADD and PJSUA_CALL_VID_STRM_CHANGE_CAP_DEV.
Default: PJMEDIA_VID_DEFAULT_CAPTURE_DEV.
The documentation for this struct was generated from the following file: