mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 03:10:04 +08:00
删除无效代码
This commit is contained in:
parent
89d0a9dedf
commit
e88281b2ff
@ -214,12 +214,6 @@ void H264RtmpEncoder::inputFrame(const Frame::Ptr &frame) {
|
|||||||
_lastPacket->buffer.append((char *) &size, 4);
|
_lastPacket->buffer.append((char *) &size, 4);
|
||||||
_lastPacket->buffer.append(pcData, iLen);
|
_lastPacket->buffer.append(pcData, iLen);
|
||||||
_lastPacket->body_size = _lastPacket->buffer.size();
|
_lastPacket->body_size = _lastPacket->buffer.size();
|
||||||
/*
|
|
||||||
if (type == H264Frame::NAL_B_P) {
|
|
||||||
RtmpCodec::inputRtmp(_lastPacket);
|
|
||||||
_lastPacket = nullptr;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void H264RtmpEncoder::makeVideoConfigPkt() {
|
void H264RtmpEncoder::makeVideoConfigPkt() {
|
||||||
|
Loading…
Reference in New Issue
Block a user