Changeset 2221
- Timestamp:
- Aug 18, 2008 11:32:13 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/python/pjsua.py
r2170 r2221 1940 1940 1941 1941 def __init__(self, codec_info, codec_param): 1942 self.name = codec_info. id1942 self.name = codec_info.codec_id 1943 1943 self.priority = codec_info.priority 1944 1944 self.clock_rate = codec_param.info.clock_rate 1945 self.channel_count = codec_param.info.channel_c ount1945 self.channel_count = codec_param.info.channel_cnt 1946 1946 self.avg_bps = codec_param.info.avg_bps 1947 1947 self.frm_ptime = codec_param.info.frm_ptime … … 1954 1954 def _cvt_to_pjsua(self): 1955 1955 ci = _pjsua.Codec_Info() 1956 ci. id = self.name1956 ci.codec_id = self.name 1957 1957 ci.priority = self.priority 1958 1958 return ci … … 2347 2347 codec_info = [] 2348 2348 for ci in ci_list: 2349 cp = _pjsua.codec_get_param(ci. id)2349 cp = _pjsua.codec_get_param(ci.codec_id) 2350 2350 if cp: 2351 2351 codec_info.append(CodecInfo(ci, cp))
Note: See TracChangeset
for help on using the changeset viewer.