?? hust_rtpstreamoff.c
字號(hào):
/*------------------------------------------------------------------------- * rtpstreamoff.c - rtpstreamoff *------------------------------------------------------------------------- *////#include <stdlib.h>#include "hust_rtp.h"/*------------------------------------------------------------------------ * rtpstreamoff - stop enqueueing packets from a particular stream and * clear its RTP packet queue. *------------------------------------------------------------------------ */intrtpstreamoff(struct session *psn, ssrc_t ssrc){ struct stream *pstm; pstm = rtpgetstream(psn, ssrc); if (pstm == NULL) return ERROR; pstm->stm_enqueue = FALSE; rtpqclear(psn, ssrc); rtpreleasestream(psn, pstm); return OK;}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -