Ignore:
Timestamp:
Dec 28, 2016 3:40:07 AM (7 years ago)
Author:
nanang
Message:

Re #1900: More merged from trunk (r5512 mistakenly contains merged changes in third-party dir only).

Location:
pjproject/branches/projects/uwp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/uwp

  • pjproject/branches/projects/uwp/pjmedia/include/pjmedia-codec/config.h

    r4331 r5513  
    421421 
    422422/** 
     423 * Enable OPUS codec. 
     424 * 
     425 * Default: 0 
     426 */ 
     427#ifndef PJMEDIA_HAS_OPUS_CODEC 
     428#   define PJMEDIA_HAS_OPUS_CODEC                       0 
     429#endif 
     430 
     431/** 
     432 * OPUS codec sample rate. 
     433 * 
     434 * Default: 48000 
     435 */ 
     436#ifndef PJMEDIA_CODEC_OPUS_DEFAULT_SAMPLE_RATE 
     437#   define PJMEDIA_CODEC_OPUS_DEFAULT_SAMPLE_RATE       48000 
     438#endif 
     439 
     440/** 
     441 * OPUS codec default maximum average bit rate. 
     442 * 
     443 * Default: 0 (leave it to default value specified by Opus, which will 
     444 * take into account factors such as media content (speech/music), sample 
     445 * rate, channel count, etc). 
     446 */ 
     447#ifndef PJMEDIA_CODEC_OPUS_DEFAULT_BIT_RATE 
     448#   define PJMEDIA_CODEC_OPUS_DEFAULT_BIT_RATE          0 
     449#endif 
     450 
     451 
     452/** 
     453 * OPUS default encoding complexity, which is an integer from 
     454 * 0 to 10, where 0 is the lowest complexity and 10 is the highest. 
     455 * 
     456 * Default: 5 
     457 */ 
     458#ifndef PJMEDIA_CODEC_OPUS_DEFAULT_COMPLEXITY 
     459#   define PJMEDIA_CODEC_OPUS_DEFAULT_COMPLEXITY        5 
     460#endif 
     461 
     462 
     463/** 
     464 * OPUS default CBR (constant bit rate) setting 
     465 * 
     466 * Default: PJ_FALSE (which means Opus will use VBR (variable bit rate)) 
     467 */ 
     468#ifndef PJMEDIA_CODEC_OPUS_DEFAULT_CBR 
     469#   define PJMEDIA_CODEC_OPUS_DEFAULT_CBR               PJ_FALSE 
     470#endif 
     471 
     472/** 
    423473 * Specify if FFMPEG codecs are available. 
    424474 * 
    425  * Default: PJMEDIA_HAS_LIBAVCODEC 
     475 * Default: PJMEDIA_HAS_LIBAVFORMAT 
    426476 */ 
    427477#ifndef PJMEDIA_HAS_FFMPEG_CODEC 
    428 #   define PJMEDIA_HAS_FFMPEG_CODEC             PJMEDIA_HAS_LIBAVCODEC 
     478#   define PJMEDIA_HAS_FFMPEG_CODEC             PJMEDIA_HAS_LIBAVFORMAT 
    429479#endif 
    430480 
Note: See TracChangeset for help on using the changeset viewer.