Ignore:
Timestamp:
Oct 25, 2019 1:42:02 AM (5 years ago)
Author:
ming
Message:

Re #2210 (misc): Clarify in the doc that on_stream_created()/destroyed() callback is for audio stream

File:
1 edited

Legend:

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

    r6051 r6097  
    679679{ 
    680680    /** 
    681      * Media stream, read-only. 
     681     * Audio media stream, read-only. 
    682682     */ 
    683683    MediaStream stream; 
    684684     
    685685    /** 
    686      * Stream index in the media session, read-only. 
     686     * Stream index in the audio media session, read-only. 
    687687     */ 
    688688    unsigned    streamIdx; 
     
    699699 
    700700    /** 
    701      * On input, it specifies the media port of the stream. Application 
     701     * On input, it specifies the audio media port of the stream. Application 
    702702     * may modify this pointer to point to different media port to be 
    703703     * registered to the conference bridge. 
     
    713713{ 
    714714    /** 
    715      * Media stream. 
     715     * Audio media stream. 
    716716     */ 
    717717    MediaStream stream; 
    718718     
    719719    /** 
    720      * Stream index in the media session. 
     720     * Stream index in the audio media session. 
    721721     */ 
    722722    unsigned    streamIdx; 
     
    17121712     
    17131713    /** 
    1714      * Notify application when media session is created and before it is 
     1714     * Notify application when audio media session is created and before it is 
    17151715     * registered to the conference bridge. Application may return different 
    1716      * media port if it has added media processing port to the stream. This 
    1717      * media port then will be added to the conference bridge instead. 
     1716     * audio media port if it has added media processing port to the stream. 
     1717     * This media port then will be added to the conference bridge instead. 
    17181718     * 
    17191719     * @param prm       Callback parameter. 
     
    17231723     
    17241724    /** 
    1725      * Notify application when media session has been unregistered from the 
    1726      * conference bridge and about to be destroyed. 
     1725     * Notify application when audio media session has been unregistered from 
     1726     * the conference bridge and about to be destroyed. 
    17271727     * 
    17281728     * @param prm       Callback parameter. 
Note: See TracChangeset for help on using the changeset viewer.