Ignore:
Timestamp:
Jul 15, 2011 9:51:46 AM (10 years ago)
Author:
bennylp
Message:

Fixed #1294: New pjmedia_codec_register_audio_codecs() API to register all known codecs, and also added implementation to deregister all codecs when the media endpoint is destroyed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/codec.h

    r3498 r3661  
    553553                                 pjmedia_codec *codec ); 
    554554 
     555    /** 
     556     * This callback will be called to deinitialize and destroy this factory. 
     557     * 
     558     * @param factory   The codec factory. 
     559     */ 
     560    pj_status_t (*destroy)(void); 
     561 
    555562} pjmedia_codec_factory_op; 
    556563 
     
    724731 * Unregister codec factory from the codec manager. This will also 
    725732 * remove all the codecs registered by the codec factory from the 
    726  * codec manager's list of supported codecs. 
    727  * 
    728  * @param mgr       The codec manager instance. Application can get the 
    729  *                  instance by calling #pjmedia_endpt_get_codec_mgr(). 
     733 * codec manager's list of supported codecs. This function should 
     734 * only be called by the codec implementers and not by application. 
     735 * 
     736 * @param mgr       The codec manager instance, use 
     737 *                      #pjmedia_endpt_get_codec_mgr(). 
    730738 * @param factory   The codec factory to be unregistered. 
    731739 * 
Note: See TracChangeset for help on using the changeset viewer.