BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

pj::CallVidSetStreamParam Struct Reference

#include <call.hpp>

Public Member Functions

 CallVidSetStreamParam ()
 

Data Fields

int medIdx
 
pjmedia_dir dir
 
pjmedia_vid_dev_index capDev
 

Detailed Description

This structure contains parameters for Call::vidSetStream()

Constructor & Destructor Documentation

◆ CallVidSetStreamParam()

pj::CallVidSetStreamParam::CallVidSetStreamParam ( )

Default constructor

Field Documentation

◆ 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

pjmedia_dir pj::CallVidSetStreamParam::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

pjmedia_vid_dev_index pj::CallVidSetStreamParam::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:

 


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