mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
use stream time for live duration. change to 0.9.64
This commit is contained in:
parent
2c6b6c6846
commit
ce64dafc3c
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue