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-02-06 09:23:37 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3be25adf888f898a86711cdd8477dcdd2cf1a6cc
3be25adf
1 parent
ca9f0409
if script name is amf3 encoded,save it as amf0 string
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
trunk/src/app/srs_app_dvr.cpp
trunk/src/app/srs_app_dvr.cpp
查看文件 @
3be25ad
...
...
@@ -280,6 +280,11 @@ int SrsFlvSegment::write_data(SrsSharedPtrMessage* shared_data)
char
*
payload
=
data
->
payload
;
int
size
=
data
->
size
;
int64_t
timestamp
=
plan
->
filter_timestamp
(
data
->
timestamp
);
if
(
size
&&
payload
&&
(
*
payload
)
==
0
)
{
//convert amf3 string to amf0
size
--
;
payload
++
;
}
if
((
ret
=
enc
->
write_metadata
(
timestamp
,
payload
,
size
))
!=
ERROR_SUCCESS
)
{
return
ret
;
}
...
...
请
注册
或
登录
后发表评论