Commit de7fcd17 authored by zhujiashun's avatar zhujiashun

add amf3 support for data and command message in RTMP

parent 5b8dda84
...@@ -2264,7 +2264,7 @@ bool RtmpChunkStream::OnCommandMessageAMF0( ...@@ -2264,7 +2264,7 @@ bool RtmpChunkStream::OnCommandMessageAMF0(
} }
bool RtmpChunkStream::OnDataMessageAMF3( bool RtmpChunkStream::OnDataMessageAMF3(
const RtmpMessageHeader& mh, base::IOBuf* msg_body, Socket* socket) { const RtmpMessageHeader& mh, butil::IOBuf* msg_body, Socket* socket) {
msg_body->pop_front(1); msg_body->pop_front(1);
return OnDataMessageAMF0(mh, msg_body, socket); return OnDataMessageAMF0(mh, msg_body, socket);
} }
...@@ -2276,7 +2276,7 @@ bool RtmpChunkStream::OnSharedObjectMessageAMF3( ...@@ -2276,7 +2276,7 @@ bool RtmpChunkStream::OnSharedObjectMessageAMF3(
} }
bool RtmpChunkStream::OnCommandMessageAMF3( bool RtmpChunkStream::OnCommandMessageAMF3(
const RtmpMessageHeader& mh, base::IOBuf* msg_body, Socket* socket) { const RtmpMessageHeader& mh, butil::IOBuf* msg_body, Socket* socket) {
msg_body->pop_front(1); msg_body->pop_front(1);
return OnCommandMessageAMF0(mh, msg_body, socket); return OnCommandMessageAMF0(mh, msg_body, socket);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment