mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-30 06:42:22 +08:00
优化代码
This commit is contained in:
@@ -154,7 +154,8 @@ public:
|
||||
}
|
||||
bool key = pkt->isVideoKeyFrame();
|
||||
bool is_video = pkt->type_id == MSG_VIDEO;
|
||||
PacketCache<RtmpPacket>::inputPacket(is_video, std::move(pkt), key);
|
||||
auto stamp = pkt->time_stamp;
|
||||
PacketCache<RtmpPacket>::inputPacket(stamp, is_video, std::move(pkt), key);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user