Displaying 1 result from an estimated 1 matches for "opus_data".
Did you mean:
ops_data
2018 Apr 25
0
How to change codec frame_size at runtime
...:
- bitrate = 24, 16, 6kbps: sound is OK
- frame_size = 40ms, 60ms: Not OK, sound is distort so bad
2. init codec with frame_size = 40ms , others is default, then in runtime changing:
- bitrate = 6kbps: OK
- bitrate = 24, 48kbps: Not OK
I'm using opus_encoder_ctl api:
opus_encoder_ctl(opus_data->enc,OPUS_SET_EXPERT_FRAME_DURATION(frame_duration));
opus_encoder_ctl(opus_data->enc, OPUS_SET_BITRATE(avg_bps));
Regards,
Kamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/opus/attachments/20180425/8a23b2c7/attac...