[fix] fix compiling error

This commit is contained in:
dijunkun
2025-04-03 17:19:19 +08:00
parent 772db42494
commit dee2d4f5ca
3 changed files with 3 additions and 3 deletions

View File

@@ -69,7 +69,7 @@ std::vector<std::unique_ptr<RtpPacket>> RtpPacketizerGeneric::Build(
payload_type_ = rtp::PAYLOAD_TYPE(payload_type_);
sequence_number_++;
timestamp_ = timestamp;
ssrc_ = ssrc_;
// ssrc_ = ssrc_;
if (!csrc_count_) {
}

View File

@@ -168,7 +168,7 @@ std::vector<std::unique_ptr<RtpPacket>> RtpPacketizerH264::BuildFua(
payload_type_ = rtp::PAYLOAD_TYPE(payload_type_);
sequence_number_++;
timestamp_ = timestamp;
ssrc_ = ssrc_;
// ssrc_ = ssrc_;
if (!csrc_count_) {
csrcs_ = csrcs_;

View File

@@ -107,7 +107,7 @@ int VideoChannelSend::SendVideo(const EncodedFrame& encoded_frame) {
fwrite((unsigned char*)encoded_frame.Buffer(), 1, encoded_frame.Size(),
file_rtp_sent_);
#endif
paced_sender_->EnqueueRtpPackets(std::move(rtp_packets), rtp_timestamp);
paced_sender_->EnqueueRtpPackets(rtp_packets, rtp_timestamp);
}
return 0;