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-10 05:29:42 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
31a3d800b004d3c625e9c8e89374b5fd4c5ca6b6
31a3d800
1 parent
2ceaa240
add trace
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
trunk/src/protocol/srs_rtmp_stack.cpp
trunk/src/protocol/srs_rtmp_stack.cpp
查看文件 @
31a3d80
...
...
@@ -843,13 +843,13 @@ int SrsProtocol::do_decode_message(SrsMessageHeader& header, SrsStream* stream,
return
ret
;
}
else
if
(
header
.
is_amf0_command
()
||
header
.
is_amf3_command
())
{
srs_
info
(
"decode the AMF0/AMF3 call message."
);
srs_
trace
(
"decode the AMF0/AMF3 call message:%s"
,
command
.
c_str
()
);
*
ppacket
=
packet
=
new
SrsCallPacket
();
return
packet
->
decode
(
stream
);
}
// default packet to drop message.
srs_
info
(
"drop the AMF0/AMF3 command message, command_name=%s"
,
command
.
c_str
());
srs_
trace
(
"drop the AMF0/AMF3 command message, command_name=%s"
,
command
.
c_str
());
*
ppacket
=
packet
=
new
SrsPacket
();
return
ret
;
}
else
if
(
header
.
is_user_control_message
())
{
...
...
@@ -2717,7 +2717,7 @@ int SrsRtmpServer::identify_client(int stream_id, SrsRtmpConnType& type, string&
continue
;
}
srs_trace
(
"ignore AMF0/AMF3 command message."
);
srs_trace
(
"i
dentify_client:i
gnore AMF0/AMF3 command message."
);
}
return
ret
;
...
...
@@ -3124,7 +3124,7 @@ int SrsRtmpServer::identify_create_stream_client(SrsCreateStreamPacket* req, int
return
identify_create_stream_client
(
dynamic_cast
<
SrsCreateStreamPacket
*>
(
pkt
),
stream_id
,
type
,
stream_name
,
duration
);
}
srs_trace
(
"ignore AMF0/AMF3 command message."
);
srs_trace
(
"i
dentify_create_stream_client:i
gnore AMF0/AMF3 command message."
);
}
return
ret
;
...
...
请
注册
或
登录
后发表评论