BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

pj::ConfPortInfo Struct Reference

#include <media.hpp>

Public Member Functions

void fromPj (const pjsua_conf_port_info &port_info)
 

Data Fields

int portId
 
string name
 
MediaFormatAudio format
 
float txLevelAdj
 
float rxLevelAdj
 
IntVector listeners
 

Detailed Description

This structure descibes information about a particular media port that has been registered into the conference bridge.

Member Function Documentation

◆ fromPj()

void pj::ConfPortInfo::fromPj ( const pjsua_conf_port_info port_info)

Construct from pjsua_conf_port_info.

Field Documentation

◆ portId

int pj::ConfPortInfo::portId

Conference port number.

◆ name

string pj::ConfPortInfo::name

Port name.

◆ format

MediaFormatAudio pj::ConfPortInfo::format

Media audio format information

◆ txLevelAdj

float pj::ConfPortInfo::txLevelAdj

Tx level adjustment. Value 1.0 means no adjustment, value 0 means the port is muted, value 2.0 means the level is amplified two times.

◆ rxLevelAdj

float pj::ConfPortInfo::rxLevelAdj

Rx level adjustment. Value 1.0 means no adjustment, value 0 means the port is muted, value 2.0 means the level is amplified two times.

◆ listeners

IntVector pj::ConfPortInfo::listeners

Array of listeners (in other words, ports where this port is transmitting to).


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.