mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-14 12:05:58 +08:00
优化rtmp性能
This commit is contained in:
@@ -279,7 +279,8 @@ void RtmpPusher::onCmd_onStatus(AMFDecoder &dec) {
|
||||
}
|
||||
}
|
||||
|
||||
void RtmpPusher::onRtmpChunk(RtmpPacket &chunk_data) {
|
||||
void RtmpPusher::onRtmpChunk(RtmpPacket::Ptr packet) {
|
||||
auto &chunk_data = *packet;
|
||||
switch (chunk_data.type_id) {
|
||||
case MSG_CMD:
|
||||
case MSG_CMD3: {
|
||||
|
||||
Reference in New Issue
Block a user