Changeset 6119 for pjproject/trunk/pjsip/include/pjsua2/media.hpp
- Timestamp:
- Dec 17, 2019 10:06:01 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua2/media.hpp
r6117 r6119 2442 2442 2443 2443 /** 2444 * Opus codec parameters setting; 2445 */ 2446 struct CodecOpusConfig 2447 { 2448 unsigned sample_rate; /**< Sample rate in Hz. */ 2449 unsigned channel_cnt; /**< Number of channels. */ 2450 unsigned frm_ptime; /**< Frame time in msec. */ 2451 unsigned bit_rate; /**< Encoder bit rate in bps. */ 2452 unsigned packet_loss; /**< Encoder's expected packet loss pct. */ 2453 unsigned complexity; /**< Encoder complexity, 0-10(10 is highest)*/ 2454 bool cbr; /**< Constant bit rate? */ 2455 2456 pjmedia_codec_opus_config toPj() const; 2457 void fromPj(const pjmedia_codec_opus_config &config); 2458 }; 2459 2460 /** 2444 2461 * Detailed codec attributes used in configuring a video codec and in querying 2445 2462 * the capability of video codec factories.
Note: See TracChangeset
for help on using the changeset viewer.