Changeset 321 for pjproject/trunk/pjmedia/src/pjmedia/stream.c
- Timestamp:
- Mar 16, 2006 6:52:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/stream.c
r319 r321 100 100 unsigned rem_src_cnt; /**< if different, # of pkt rcv */ 101 101 102 pj _rtcp_sessionrtcp; /**< RTCP for incoming RTP. */102 pjmedia_rtcp_session rtcp; /**< RTCP for incoming RTP. */ 103 103 104 104 pj_bool_t quit_flag; /**< To signal thread exit. */ … … 521 521 continue; 522 522 } 523 pj _rtcp_rx_rtp(&stream->rtcp, pj_ntohs(hdr->seq), pj_ntohl(hdr->ts));523 pjmedia_rtcp_rx_rtp(&stream->rtcp, pj_ntohs(hdr->seq), pj_ntohl(hdr->ts)); 524 524 525 525 /* Update stat */ … … 721 721 /* Init RTCP session: */ 722 722 723 pj _rtcp_init(&stream->rtcp, info->ssrc);723 pjmedia_rtcp_init(&stream->rtcp, info->ssrc); 724 724 725 725 … … 790 790 if (stream->enc && stream->enc->snd_stream) { 791 791 792 pj _snd_stream_stop(stream->enc->snd_stream);793 pj _snd_stream_close(stream->enc->snd_stream);792 pjmedia_snd_stream_stop(stream->enc->snd_stream); 793 pjmedia_snd_stream_close(stream->enc->snd_stream); 794 794 stream->enc->snd_stream = NULL; 795 795 … … 802 802 if (stream->dec && stream->dec->snd_stream) { 803 803 804 pj _snd_stream_stop(stream->dec->snd_stream);805 pj _snd_stream_close(stream->dec->snd_stream);804 pjmedia_snd_stream_stop(stream->dec->snd_stream); 805 pjmedia_snd_stream_close(stream->dec->snd_stream); 806 806 stream->dec->snd_stream = NULL; 807 807 … … 858 858 if (stream->enc && (stream->dir & PJMEDIA_DIR_ENCODING)) { 859 859 stream->enc->paused = 0; 860 //pj _snd_stream_start(stream->enc->snd_stream);860 //pjmedia_snd_stream_start(stream->enc->snd_stream); 861 861 PJ_LOG(4,(THIS_FILE, "Encoder stream started")); 862 862 } else { … … 866 866 if (stream->dec && (stream->dir & PJMEDIA_DIR_DECODING)) { 867 867 stream->dec->paused = 0; 868 //pj _snd_stream_start(stream->dec->snd_stream);868 //pjmedia_snd_stream_start(stream->dec->snd_stream); 869 869 PJ_LOG(4,(THIS_FILE, "Decoder stream started")); 870 870 } else {
Note: See TracChangeset
for help on using the changeset viewer.