Changeset 569 for pjproject/trunk/pjmedia/src/pjmedia/stream.c
- Timestamp:
- Jun 29, 2006 3:42:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/stream.c
r568 r569 683 683 * in the RTP socket. 684 684 */ 685 static void on_rx_rtp( pjmedia_stream *stream,685 static void on_rx_rtp( void *data, 686 686 const void *pkt, 687 687 pj_ssize_t bytes_read) 688 688 689 689 { 690 pjmedia_stream *stream = data; 690 691 pjmedia_channel *channel = stream->dec; 691 692 const pjmedia_rtp_hdr *hdr; … … 825 826 * in the RTCP socket. 826 827 */ 827 static void on_rx_rtcp( pjmedia_stream *stream,828 static void on_rx_rtcp( void *data, 828 829 const void *pkt, 829 830 pj_ssize_t bytes_read) 830 831 { 832 pjmedia_stream *stream = data; 833 831 834 /* Check for errors */ 832 835 if (bytes_read < 0) { … … 1068 1071 1069 1072 /* Only attach transport when stream is ready. */ 1070 status = (*tp->op->attach)(tp, stream, &info->rem_addr, &info->rem_rtcp,1071 sizeof(info->rem_addr), &on_rx_rtp,1072 1073 status = pjmedia_transport_attach(tp, stream, &info->rem_addr, 1074 &info->rem_rtcp, sizeof(info->rem_addr), 1075 &on_rx_rtp, &on_rx_rtcp); 1073 1076 if (status != PJ_SUCCESS) 1074 1077 goto err_cleanup;
Note: See TracChangeset
for help on using the changeset viewer.