Ignore:
Timestamp:
Jun 6, 2008 12:15:23 PM (16 years ago)
Author:
nanang
Message:

Added field maximum bitrate to codec param, this is useful for providing safer frame size calculation, especially when peer's bitrate is unknown

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-codec/l16.c

    r1983 r1985  
    243243    attr->info.channel_cnt = id->channel_cnt; 
    244244    attr->info.avg_bps = id->clock_rate * id->channel_cnt * 16; 
     245    attr->info.max_bps = attr->info.avg_bps; 
    245246    attr->info.pcm_bits_per_sample = 16; 
    246247 
Note: See TracChangeset for help on using the changeset viewer.