Changeset 6112 for pjproject/trunk/pjsip/include/pjsua2/media.hpp
- Timestamp:
- Nov 29, 2019 4:21:17 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua2/media.hpp
r6074 r6112 549 549 */ 550 550 551 552 /* Unfortunately for pjsua2, a hard deprecation is inevitable. */ 553 #if 0 // !DEPRECATED_FOR_TICKET_2251 551 554 /** 552 555 * Register a callback to be called when the file player reading has … … 563 566 virtual bool onEof() 564 567 { 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 { } 566 583 567 584 private: … … 574 591 * Low level PJMEDIA callback 575 592 */ 576 static pj_status_teof_cb(pjmedia_port *port,577 593 static void eof_cb(pjmedia_port *port, 594 void *usr_data); 578 595 }; 579 596
Note: See TracChangeset
for help on using the changeset viewer.