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/pjsua-lib/pjsua.h

    r6094 r6097  
    511511{ 
    512512    /** 
    513      * The media stream, read-only. 
     513     * The audio media stream, read-only. 
    514514     */ 
    515515    pjmedia_stream      *stream; 
    516516 
    517517    /** 
    518      * Stream index in the media session, read-only. 
     518     * Stream index in the audio media session, read-only. 
    519519     */ 
    520520    unsigned             stream_idx; 
     
    531531 
    532532    /** 
    533      * On input, it specifies the media port of the stream. Application 
     533     * On input, it specifies the audio media port of the stream. Application 
    534534     * may modify this pointer to point to different media port to be 
    535535     * registered to the conference bridge. 
     
    961961 
    962962    /** 
    963      * Notify application when media session is created and before it is 
     963     * Notify application when audio media session is created and before it is 
    964964     * registered to the conference bridge. Application may return different 
    965      * media port if it has added media processing port to the stream. This 
    966      * media port then will be added to the conference bridge instead. 
     965     * audio media port if it has added media processing port to the stream. 
     966     * This media port then will be added to the conference bridge instead. 
    967967     * 
    968968     * Note: if implemented, #on_stream_created2() callback will be called 
     
    970970     * 
    971971     * @param call_id       Call identification. 
    972      * @param strm          Media stream. 
    973      * @param stream_idx    Stream index in the media session. 
    974      * @param p_port        On input, it specifies the media port of the 
     972     * @param strm          Audio media stream. 
     973     * @param stream_idx    Stream index in the audio media session. 
     974     * @param p_port        On input, it specifies the audio media port of the 
    975975     *                      stream. Application may modify this pointer to 
    976976     *                      point to different media port to be registered 
     
    983983 
    984984    /** 
    985      * Notify application when media session is created and before it is 
     985     * Notify application when audio media session is created and before it is 
    986986     * registered to the conference bridge. Application may return different 
    987      * media port if it has added media processing port to the stream. This 
    988      * media port then will be added to the conference bridge instead. 
     987     * audio media port if it has added media processing port to the stream. 
     988     * This media port then will be added to the conference bridge instead. 
    989989     * 
    990990     * @param call_id       Call identification. 
     
    995995 
    996996    /** 
    997      * Notify application when media session has been unregistered from the 
    998      * conference bridge and about to be destroyed. 
     997     * Notify application when audio media session has been unregistered from 
     998     * the conference bridge and about to be destroyed. 
    999999     * 
    10001000     * @param call_id       Call identification. 
    1001      * @param strm          Media stream. 
    1002      * @param stream_idx    Stream index in the media session. 
     1001     * @param strm          Audio media stream. 
     1002     * @param stream_idx    Stream index in the audio media session. 
    10031003     */ 
    10041004    void (*on_stream_destroyed)(pjsua_call_id call_id, 
Note: See TracChangeset for help on using the changeset viewer.