Changeset 5752 for pjproject/trunk/pjmedia/include/pjmedia/transport.h
- Timestamp:
- Mar 8, 2018 2:01:26 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/transport.h
r5750 r5752 564 564 }; 565 565 566 /** 567 * This structure describes the data passed when calling #rtp_cb2(). 568 */ 569 typedef struct pjmedia_tp_cb_param 570 { 571 /** 572 * User data. 573 */ 574 void *user_data; 575 576 /** 577 * Packet buffer. 578 */ 579 void *pkt; 580 581 /** 582 * Packet size. 583 */ 584 pj_ssize_t size; 585 586 /** 587 * Packet's source address. 588 */ 589 pj_sockaddr *src_addr; 590 591 /** 592 * Should media transport switch remote address to \a rtp_src_addr? 593 * Media transport should initialize it to PJ_FALSE, and application 594 * can change the value as necessary. 595 */ 596 pj_bool_t rem_switch; 597 598 } pjmedia_tp_cb_param; 566 599 567 600 /** … … 613 646 */ 614 647 void (*rtcp_cb)(void *user_data, void *pkt, pj_ssize_t); 648 649 /** 650 * Callback to be called when RTP packet is received on the transport. 651 */ 652 void (*rtp_cb2)(pjmedia_tp_cb_param *param); 653 615 654 }; 616 655
Note: See TracChangeset
for help on using the changeset viewer.