Ignore:
Timestamp:
Apr 1, 2009 12:05:34 PM (15 years ago)
Author:
nanang
Message:

Ticket #774:

  • Initial source of G.722.1/Annex C integration.
  • Disabled some "odd" modes of L16 codec (11kHz & 22kHz mono & stereo) while releasing some payload types.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c

    r2506 r2563  
    203203#endif /* PJMEDIA_HAS_PASSTHROUGH_CODECS */ 
    204204 
     205#if PJMEDIA_HAS_G7221_CODEC 
     206    /* Register G722.1 codecs */ 
     207    status = pjmedia_codec_g7221_init(pjsua_var.med_endpt); 
     208    if (status != PJ_SUCCESS) { 
     209        pjsua_perror(THIS_FILE, "Error initializing G722.1 codec", 
     210                     status); 
     211        return status; 
     212    } 
     213#endif /* PJMEDIA_HAS_G7221_CODEC */ 
     214 
    205215#if PJMEDIA_HAS_L16_CODEC 
    206216    /* Register L16 family codecs, but disable all */ 
     
    612622            pjmedia_codec_passthrough_deinit(); 
    613623#       endif /* PJMEDIA_HAS_PASSTHROUGH_CODECS */ 
     624 
     625#       if PJMEDIA_HAS_G7221_CODEC 
     626            pjmedia_codec_g7221_deinit(); 
     627#       endif /* PJMEDIA_HAS_G7221_CODEC */ 
    614628 
    615629#       if PJMEDIA_HAS_L16_CODEC 
Note: See TracChangeset for help on using the changeset viewer.