mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 19:51:49 +08:00
大幅提升接收推流性能以及降低内存占用
This commit is contained in:
@@ -69,7 +69,7 @@ void GB28181Process::onRtpSorted(const RtpPacket::Ptr &rtp, int) {
|
||||
_rtp_decoder->inputRtp(rtp, false);
|
||||
}
|
||||
|
||||
const char *GB28181Process::onSearchPacketTail(const char *packet,int bytes){
|
||||
const char *GB28181Process::onSearchPacketTail(const char *packet,uint64_t bytes){
|
||||
try {
|
||||
auto ret = _decoder->input((uint8_t *) packet, bytes);
|
||||
if (ret > 0) {
|
||||
|
||||
Reference in New Issue
Block a user