Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
de7fcd17
Commit
de7fcd17
authored
Feb 06, 2018
by
zhujiashun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add amf3 support for data and command message in RTMP
parent
5b8dda84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rtmp_protocol.cpp
src/brpc/policy/rtmp_protocol.cpp
+2
-2
No files found.
src/brpc/policy/rtmp_protocol.cpp
View file @
de7fcd17
...
...
@@ -2264,7 +2264,7 @@ bool RtmpChunkStream::OnCommandMessageAMF0(
}
bool
RtmpChunkStream
::
OnDataMessageAMF3
(
const
RtmpMessageHeader
&
mh
,
b
ase
::
IOBuf
*
msg_body
,
Socket
*
socket
)
{
const
RtmpMessageHeader
&
mh
,
b
util
::
IOBuf
*
msg_body
,
Socket
*
socket
)
{
msg_body
->
pop_front
(
1
);
return
OnDataMessageAMF0
(
mh
,
msg_body
,
socket
);
}
...
...
@@ -2276,7 +2276,7 @@ bool RtmpChunkStream::OnSharedObjectMessageAMF3(
}
bool
RtmpChunkStream
::
OnCommandMessageAMF3
(
const
RtmpMessageHeader
&
mh
,
b
ase
::
IOBuf
*
msg_body
,
Socket
*
socket
)
{
const
RtmpMessageHeader
&
mh
,
b
util
::
IOBuf
*
msg_body
,
Socket
*
socket
)
{
msg_body
->
pop_front
(
1
);
return
OnCommandMessageAMF0
(
mh
,
msg_body
,
socket
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment