From d257360e9672dfe0a046e2b644b09c96f5256a6f Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 12 Nov 2014 13:46:21 +0800 Subject: [PATCH 1/2] add comments about bug #196 --- trunk/src/app/srs_app_rtmp_conn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/src/app/srs_app_rtmp_conn.cpp b/trunk/src/app/srs_app_rtmp_conn.cpp index 53f466186..e9bcf5f94 100644 --- a/trunk/src/app/srs_app_rtmp_conn.cpp +++ b/trunk/src/app/srs_app_rtmp_conn.cpp @@ -528,8 +528,8 @@ int SrsRtmpConn::playing(SrsSource* source) // collect elapse for pithy print. pithy_print.elapse(); - // read message when no data to send. - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/194 + // to use isolate thread to recv, can improve about 5% performance. + // @see: https://github.com/winlinvip/simple-rtmp-server/issues/196 // read from client. if (true) { SrsMessage* msg = NULL; From 55580ca90038ad683e0c98d5b62b8f1937241c6c Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 12 Nov 2014 13:47:04 +0800 Subject: [PATCH 2/2] add comments about bug #197 --- trunk/auto/depends.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trunk/auto/depends.sh b/trunk/auto/depends.sh index 5f31f77c4..10feffc55 100755 --- a/trunk/auto/depends.sh +++ b/trunk/auto/depends.sh @@ -227,6 +227,8 @@ fi if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then # check the arm flag file, if flag changed, need to rebuild the st. _ST_MAKE=linux-debug + # memory leak for linux-optimized + # @see: https://github.com/winlinvip/simple-rtmp-server/issues/197 if [ $SRS_EMBEDED_CPU = YES ]; then # ok, arm specified, if the flag filed does not exists, need to rebuild. if [[ -f ${SRS_OBJS}/_flag.st.arm.tmp && -f ${SRS_OBJS}/st/libst.a ]]; then