Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-04-14 10:55:46 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ce64dafc3c44c372563db834600d23d2c1cc3b68
ce64dafc
1 parent
2c6b6c68
use stream time for live duration. change to 0.9.64
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
0 行增加
和
1 行删除
trunk/src/app/srs_app_rtmp_conn.cpp
trunk/src/app/srs_app_rtmp_conn.cpp
查看文件 @
ce64daf
...
...
@@ -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
);
...
...
请
注册
或
登录
后发表评论