#include <account.hpp>
Account video config. This will be specified in AccountConfig.
◆ AccountVideoConfig()
pj::AccountVideoConfig::AccountVideoConfig |
( |
| ) |
|
|
inline |
◆ readObject()
virtual void pj::AccountVideoConfig::readObject |
( |
const ContainerNode & |
node | ) |
|
throw | ( | Error |
| ) | | |
|
virtual |
Read this object from a container node.
- Parameters
-
node | Container to read values from. |
Implements pj::PersistentObject.
◆ writeObject()
virtual void pj::AccountVideoConfig::writeObject |
( |
ContainerNode & |
node | ) |
const |
throw | ( | Error |
| ) | | |
|
virtual |
Write this object to a container node.
- Parameters
-
node | Container to write values to. |
Implements pj::PersistentObject.
◆ autoShowIncoming
bool pj::AccountVideoConfig::autoShowIncoming |
Specify whether incoming video should be shown to screen by default. This applies to incoming call (INVITE), incoming re-INVITE, and incoming UPDATE requests.
Regardless of this setting, application can detect incoming video by implementing on_call_media_state() callback and enumerating the media stream(s) with pjsua_call_get_info(). Once incoming video is recognised, application may retrieve the window associated with the incoming video and show or hide it with pjsua_vid_win_set_show().
Default: False
◆ autoTransmitOutgoing
bool pj::AccountVideoConfig::autoTransmitOutgoing |
Specify whether outgoing video should be activated by default when making outgoing calls and/or when incoming video is detected. This applies to incoming and outgoing calls, incoming re-INVITE, and incoming UPDATE. If the setting is non-zero, outgoing video transmission will be started as soon as response to these requests is sent (or received).
Regardless of the value of this setting, application can start and stop outgoing video transmission with pjsua_call_set_vid_strm().
Default: False
◆ windowFlags
unsigned pj::AccountVideoConfig::windowFlags |
Specify video window's flags. The value is a bitmask combination of pjmedia_vid_dev_wnd_flag.
Default: 0
◆ defaultCaptureDevice
Specify the default capture device to be used by this account. If vidOutAutoTransmit is enabled, this device will be used for capturing video.
Default: PJMEDIA_VID_DEFAULT_CAPTURE_DEV
◆ defaultRenderDevice
Specify the default rendering device to be used by this account.
Default: PJMEDIA_VID_DEFAULT_RENDER_DEV
◆ rateControlMethod
Rate control method.
Default: PJMEDIA_VID_STREAM_RC_SIMPLE_BLOCKING.
◆ rateControlBandwidth
unsigned pj::AccountVideoConfig::rateControlBandwidth |
Upstream/outgoing bandwidth. If this is set to zero, the video stream will use codec maximum bitrate setting.
Default: 0 (follow codec maximum bitrate).
◆ startKeyframeCount
unsigned pj::AccountVideoConfig::startKeyframeCount |
The number of keyframe to be sent after the stream is created.
Default: PJMEDIA_VID_STREAM_START_KEYFRAME_CNT
◆ startKeyframeInterval
unsigned pj::AccountVideoConfig::startKeyframeInterval |
The keyframe sending interval after the stream is created.
Default: PJMEDIA_VID_STREAM_START_KEYFRAME_INTERVAL_MSEC
The documentation for this struct was generated from the following file: