mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 03:10:04 +08:00
提高rtmp协议兼容性
This commit is contained in:
parent
b90ebf6511
commit
b7d1a5059a
@ -601,7 +601,9 @@ const char* RtmpProtocol::handle_rtmp(const char *data, uint64_t len) {
|
|||||||
//need more data
|
//need more data
|
||||||
return ptr;
|
return ptr;
|
||||||
}
|
}
|
||||||
|
if (more) {
|
||||||
chunk_data.buffer.append(ptr + header_len + offset, more);
|
chunk_data.buffer.append(ptr + header_len + offset, more);
|
||||||
|
}
|
||||||
ptr += header_len + offset + more;
|
ptr += header_len + offset + more;
|
||||||
len -= header_len + offset + more;
|
len -= header_len + offset + more;
|
||||||
if (chunk_data.buffer.size() == chunk_data.body_size) {
|
if (chunk_data.buffer.size() == chunk_data.body_size) {
|
||||||
|
Loading…
Reference in New Issue
Block a user