Ignore:
Timestamp:
Dec 2, 2013 4:40:29 AM (10 years ago)
Author:
ming
Message:

Re #1519: Add call media

File:
1 edited

Legend:

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

    r4663 r4666  
    10891089     */ 
    10901090    bool hasMedia() const; 
     1091     
     1092    /** 
     1093     * Get media for the specified media index. 
     1094     * 
     1095     * @psaram med_idx      Media index. 
     1096     * 
     1097     * @return              The media or NULL if invalid or inactive. 
     1098     */ 
     1099    Media *getMedia(unsigned med_idx) const; 
    10911100 
    10921101    /** 
     
    14201429    MediaTransportInfo getMedTransportInfo(unsigned med_idx) const throw(Error); 
    14211430 
     1431    /** 
     1432     * Internal function (callled by Endpoint( to process update to call 
     1433     * medias when call media state changes. 
     1434     */ 
     1435    void processMediaUpdate(OnCallMediaStateParam &prm); 
     1436 
     1437    /** 
     1438     * Internal function (called by Endpoint) to process call state change. 
     1439     */ 
     1440    void processStateChange(OnCallStateParam &prm); 
     1441     
    14221442public: 
    14231443    /* 
     
    16651685    {} 
    16661686 
    1667 protected: 
    1668     friend class Endpoint; 
    1669      
    16701687private: 
    16711688    Account             &acc; 
    16721689    pjsua_call_id        id; 
    16731690    Token                userData; 
     1691    std::vector<Media *> medias; 
    16741692}; 
    16751693 
Note: See TracChangeset for help on using the changeset viewer.