浏览代码

rtpproxy: comment about child init rank filtering

Daniel-Constantin Mierla 9 年之前
父节点
当前提交
c3acb86468
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      modules/rtpproxy/rtpproxy.c

+ 1 - 0
modules/rtpproxy/rtpproxy.c

@@ -862,6 +862,7 @@ child_init(int rank)
 	if(rtpp_set_list==NULL )
 		return 0;
 
+	/* do not init sockets for PROC_INIT and main process when fork=yes */
 	if(rank==PROC_INIT || (rank==PROC_MAIN && dont_fork==0)) {
 		return 0;
 	}