From ce64dafc3c44c372563db834600d23d2c1cc3b68 Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 14 Apr 2014 10:55:46 +0800 Subject: [PATCH] use stream time for live duration. change to 0.9.64 --- trunk/src/app/srs_app_rtmp_conn.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/trunk/src/app/srs_app_rtmp_conn.cpp b/trunk/src/app/srs_app_rtmp_conn.cpp index 0b3674615..3d960a621 100644 --- a/trunk/src/app/srs_app_rtmp_conn.cpp +++ b/trunk/src/app/srs_app_rtmp_conn.cpp @@ -486,7 +486,6 @@ int SrsRtmpConn::playing(SrsSource* source) // if duration specified, and exceed it, stop play live. // @see: https://github.com/winlinvip/simple-rtmp-server/issues/45 - // TODO: maybe the duration should use the stream duration. if (req->duration > 0 && duration >= (int64_t)req->duration) { ret = ERROR_RTMP_DURATION_EXCEED; srs_trace("stop live for duration exceed. ret=%d", ret);