正在显示
1 个修改的文件
包含
0 行增加
和
1 行删除
| @@ -486,7 +486,6 @@ int SrsRtmpConn::playing(SrsSource* source) | @@ -486,7 +486,6 @@ int SrsRtmpConn::playing(SrsSource* source) | ||
| 486 | 486 | ||
| 487 | // if duration specified, and exceed it, stop play live. | 487 | // if duration specified, and exceed it, stop play live. |
| 488 | // @see: https://github.com/winlinvip/simple-rtmp-server/issues/45 | 488 | // @see: https://github.com/winlinvip/simple-rtmp-server/issues/45 |
| 489 | - // TODO: maybe the duration should use the stream duration. | ||
| 490 | if (req->duration > 0 && duration >= (int64_t)req->duration) { | 489 | if (req->duration > 0 && duration >= (int64_t)req->duration) { |
| 491 | ret = ERROR_RTMP_DURATION_EXCEED; | 490 | ret = ERROR_RTMP_DURATION_EXCEED; |
| 492 | srs_trace("stop live for duration exceed. ret=%d", ret); | 491 | srs_trace("stop live for duration exceed. ret=%d", ret); |
-
请 注册 或 登录 后发表评论