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/pjmedia/include/pjmedia/wav_playlist.h

    r3553 r6112  
    7373 
    7474 
     75#if !DEPRECATED_FOR_TICKET_2251 
    7576/** 
    7677 * Register a callback to be called when the file reading has reached the 
     
    9394                                pj_status_t (*cb)(pjmedia_port *port, 
    9495                                                  void *usr_data)); 
     96#endif 
     97 
     98 
     99/** 
     100 * Register a callback to be called when the file reading has reached the 
     101 * end of file of the last file. If the file is set to play repeatedly,  
     102 * then the callback will be called multiple times. Note that only one  
     103 * callback can be registered for each file port. 
     104 * 
     105 * @param port          The WAV play list port. 
     106 * @param user_data     User data to be specified in the callback 
     107 * @param cb            Callback to be called. Note that if 
     108 *                      application wishes to stop the playback, it 
     109 *                      can disconnect the port in the callback, and 
     110 *                      only after all connections have been removed 
     111 *                      could the application safely destroy the port. 
     112 * 
     113 * @return              PJ_SUCCESS on success. 
     114 */ 
     115PJ_DECL(pj_status_t) 
     116pjmedia_wav_playlist_set_eof_cb2(pjmedia_port *port, 
     117                                 void *user_data, 
     118                                 void (*cb)(pjmedia_port *port, 
     119                                            void *usr_data)); 
    95120 
    96121 
Note: See TracChangeset for help on using the changeset viewer.