feat delete unused code
This commit is contained in:
parent
cfa3bec929
commit
68955415ed
@ -586,17 +586,6 @@ RTPManager::ModifyUDPSEIPacket(RTPDecoder::DecodedPacket packet, void *sei_begin
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
RTPManager::TryInsertSEI(RTPPacket::Ptr packet)
|
||||
{
|
||||
// TOOD 插入SEI在I帧头部
|
||||
if (packet->payload_type() == Frame::kUDP) {
|
||||
packet->InsertPacketAtBefore(nullptr, 0);
|
||||
} else {
|
||||
// assert(false);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
RTPManager::OnSigned(Signer::SignedPacket::Ptr signed_packet)
|
||||
{
|
||||
@ -624,7 +613,8 @@ RTPManager::FetchSignData()
|
||||
{
|
||||
std::lock_guard<std::mutex> _(_signed_packet_lock);
|
||||
auto res = _signed_packet;
|
||||
_signed_packet.reset();
|
||||
// 由于SPS插入签名时,信息不足,所以这里保留签名
|
||||
// _signed_packet.reset();
|
||||
return res;
|
||||
}
|
||||
|
||||
|
@ -53,8 +53,6 @@ private:
|
||||
void ModifyTCPSEIPacket(RTPDecoder::DecodedPacket packet, void *sei_begin, void *sei_end);
|
||||
void ModifyUDPSEIPacket(RTPDecoder::DecodedPacket packet, void *sei_begin, void *sei_end);
|
||||
|
||||
void TryInsertSEI(RTPPacket::Ptr);
|
||||
|
||||
private:
|
||||
// NALU 组包回调
|
||||
void OnRTPDecoded(RTPDecoder::DecodedPacket packet);
|
||||
|
Loading…
x
Reference in New Issue
Block a user