diff --git a/pjsip/src/pjsua2/media.cpp b/pjsip/src/pjsua2/media.cpp index a296c3bff..7e924dc10 100644 --- a/pjsip/src/pjsua2/media.cpp +++ b/pjsip/src/pjsua2/media.cpp @@ -77,8 +77,8 @@ void ConfPortInfo::fromPj(const pjsua_conf_port_info &port_info) portId = port_info.slot_id; name = pj2Str(port_info.name); format.fromPj(port_info.format); - txLevelAdj = port_info.tx_level_adj; - rxLevelAdj = port_info.rx_level_adj; + txLevelAdj = port_info.rx_level_adj; + rxLevelAdj = port_info.tx_level_adj; /* format.id = PJMEDIA_FORMAT_PCM;