Ignore:
Timestamp:
Oct 24, 2017 7:31:39 AM (6 years ago)
Author:
ming
Message:

Fixed #2052: Add option for pjsua callback on_stream_created to destroy application's supplied media port

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua2/call.hpp

    r5645 r5676  
    692692{ 
    693693    /** 
    694      * Media stream. 
     694     * Media stream, read-only. 
    695695     */ 
    696696    MediaStream stream; 
    697697     
    698698    /** 
    699      * Stream index in the media session. 
     699     * Stream index in the media session, read-only. 
    700700     */ 
    701701    unsigned    streamIdx; 
    702702     
     703    /** 
     704     * Specify if PJSUA2 should take ownership of the port returned in 
     705     * the pPort parameter below. If set to PJ_TRUE, 
     706     * pjmedia_port_destroy() will be called on the port when it is 
     707     * no longer needed. 
     708     * 
     709     * Default: PJ_FALSE 
     710     */ 
     711    bool        destroyPort; 
     712 
    703713    /** 
    704714     * On input, it specifies the media port of the stream. Application 
Note: See TracChangeset for help on using the changeset viewer.