hust_rtpstreamcleanup.c

来自「实现基于ip2022的MPEG2 TS的IP组播接收」· C语言 代码 · 共 23 行

C
23
字号
/*------------------------------------------------------------------------- * rtpstreamcleanup.c - rtpstreamcleanup *------------------------------------------------------------------------- */#include "hust_rtp.h"/*------------------------------------------------------------------------ * rtpstreamcleanup - cleanup an absent stream if the autocleanup flag * is set for that stream. *------------------------------------------------------------------------ */intrtpstreamcleanup(struct session *psn, struct stream *pstm){	if (psn->sn_autocleanup == TRUE) {		return rtpremovestream(psn, pstm);	}	else		return OK;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?