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
胡斌
2017-08-29 12:21:11 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
497a3a5905bfd3d9deb46acddbad258174e860df
497a3a59
1 parent
40796f0d
add log to debug edge can't pull stream from origin sometimes
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
trunk/src/app/srs_app_rtmp_conn.cpp
trunk/src/app/srs_app_source.cpp
trunk/src/app/srs_app_rtmp_conn.cpp
查看文件 @
497a3a5
...
...
@@ -510,9 +510,9 @@ int SrsRtmpConn::stream_service_cycle()
bool
vhost_is_edge
=
_srs_config
->
get_vhost_is_edge
(
req
->
vhost
);
bool
enabled_cache
=
_srs_config
->
get_gop_cache
(
req
->
vhost
);
srs_trace
(
"source url=%s, ip=%s, cache=%d, is_edge=%d, source_id=%d[%d]
"
,
srs_trace
(
"source url=%s, ip=%s, cache=%d, is_edge=%d, source_id=%d[%d]
, pointer=%"
SCNxPTR
,
req
->
get_stream_url
().
c_str
(),
ip
.
c_str
(),
enabled_cache
,
vhost_is_edge
,
source
->
source_id
(),
source
->
source_id
());
source
->
source_id
(),
source
->
source_id
()
,
source
);
source
->
set_cache
(
enabled_cache
);
client_type
=
type
;
...
...
trunk/src/app/srs_app_source.cpp
查看文件 @
497a3a5
...
...
@@ -765,7 +765,7 @@ int SrsSource::fetch_or_create(SrsRequest* r, ISrsSourceHandler* h, SrsSource**
}
pool
[
stream_url
]
=
source
;
srs_
info
(
"create new source for url=%s, vhost=%s"
,
stream_url
.
c_str
(),
vhost
.
c_str
()
);
srs_
trace
(
"create new source for url=%s, vhost=%s pointer=%"
SCNxPTR
,
stream_url
.
c_str
(),
vhost
.
c_str
(),
source
);
*
pps
=
source
;
...
...
请
注册
或
登录
后发表评论