Ignore:
Timestamp:
Sep 6, 2017 3:44:35 AM (7 years ago)
Author:
riza
Message:

Close #2040: Implement CodecParam? class as a wrapper for pjmedia_codec_param.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua2/call.cpp

    r5240 r5645  
    297297        codecName = pj2Str(info.info.aud.fmt.encoding_name); 
    298298        codecClockRate = info.info.aud.fmt.clock_rate; 
    299         codecParam = info.info.aud.param; 
     299        audCodecParam.fromPj(*info.info.aud.param); 
    300300    } else if (type == PJMEDIA_TYPE_VIDEO) { 
    301301        proto = info.info.vid.proto; 
     
    308308        rxPt = info.info.vid.rx_pt; 
    309309        codecName = pj2Str(info.info.vid.codec_info.encoding_name); 
    310         codecClockRate = info.info.vid.codec_info.clock_rate; 
    311         codecParam = info.info.vid.codec_param; 
     310        codecClockRate = info.info.vid.codec_info.clock_rate;         
     311        vidCodecParam.fromPj(*info.info.vid.codec_param); 
    312312    } 
    313313} 
Note: See TracChangeset for help on using the changeset viewer.