Ignore:
Timestamp:
Nov 29, 2019 4:21:17 AM (4 years ago)
Author:
ming
Message:

Fixed #2251: Deadlock between PJSUA LOCK and conference mutex

File:
1 edited

Legend:

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

    r6074 r6112  
    549549     */ 
    550550 
     551 
     552/* Unfortunately for pjsua2, a hard deprecation is inevitable. */ 
     553#if 0 // !DEPRECATED_FOR_TICKET_2251 
    551554    /** 
    552555     * Register a callback to be called when the file player reading has 
     
    563566    virtual bool onEof() 
    564567    { return true; } 
    565  
     568#endif 
     569 
     570    /** 
     571     * Register a callback to be called when the file player reading has 
     572     * reached the end of file, or when the file reading has reached the 
     573     * end of file of the last file for a playlist. If the file or playlist 
     574     * is set to play repeatedly, then the callback will be called multiple 
     575     * times. 
     576     * 
     577     * If application wishes to stop the playback, it can stop the media 
     578     * transmission in the callback, and only after all transmissions have 
     579     * been stopped, could the application safely destroy the player. 
     580     */ 
     581    virtual void onEof2() 
     582    { } 
    566583 
    567584private: 
     
    574591     *  Low level PJMEDIA callback 
    575592     */ 
    576     static pj_status_t eof_cb(pjmedia_port *port, 
    577                               void *usr_data); 
     593    static void eof_cb(pjmedia_port *port, 
     594                       void *usr_data); 
    578595}; 
    579596 
Note: See TracChangeset for help on using the changeset viewer.