BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

pjsua_call_vid_strm_op_param Struct Reference

#include <pjsua.h>

Data Fields

int med_idx
 
pjmedia_dir dir
 
pjmedia_vid_dev_index cap_dev
 

Detailed Description

Parameters for video stream operation on a call. Application should use pjsua_call_vid_strm_op_param_default() to initialize this structure with its default values.

Field Documentation

◆ med_idx

int pjsua_call_vid_strm_op_param::med_idx

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

pjmedia_dir pjsua_call_vid_strm_op_param::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

◆ cap_dev

pjmedia_vid_dev_index pjsua_call_vid_strm_op_param::cap_dev

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:

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.