mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] fix compiling error
This commit is contained in:
@@ -69,7 +69,7 @@ std::vector<std::unique_ptr<RtpPacket>> RtpPacketizerGeneric::Build(
|
|||||||
payload_type_ = rtp::PAYLOAD_TYPE(payload_type_);
|
payload_type_ = rtp::PAYLOAD_TYPE(payload_type_);
|
||||||
sequence_number_++;
|
sequence_number_++;
|
||||||
timestamp_ = timestamp;
|
timestamp_ = timestamp;
|
||||||
ssrc_ = ssrc_;
|
// ssrc_ = ssrc_;
|
||||||
|
|
||||||
if (!csrc_count_) {
|
if (!csrc_count_) {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ std::vector<std::unique_ptr<RtpPacket>> RtpPacketizerH264::BuildFua(
|
|||||||
payload_type_ = rtp::PAYLOAD_TYPE(payload_type_);
|
payload_type_ = rtp::PAYLOAD_TYPE(payload_type_);
|
||||||
sequence_number_++;
|
sequence_number_++;
|
||||||
timestamp_ = timestamp;
|
timestamp_ = timestamp;
|
||||||
ssrc_ = ssrc_;
|
// ssrc_ = ssrc_;
|
||||||
|
|
||||||
if (!csrc_count_) {
|
if (!csrc_count_) {
|
||||||
csrcs_ = csrcs_;
|
csrcs_ = csrcs_;
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ int VideoChannelSend::SendVideo(const EncodedFrame& encoded_frame) {
|
|||||||
fwrite((unsigned char*)encoded_frame.Buffer(), 1, encoded_frame.Size(),
|
fwrite((unsigned char*)encoded_frame.Buffer(), 1, encoded_frame.Size(),
|
||||||
file_rtp_sent_);
|
file_rtp_sent_);
|
||||||
#endif
|
#endif
|
||||||
paced_sender_->EnqueueRtpPackets(std::move(rtp_packets), rtp_timestamp);
|
paced_sender_->EnqueueRtpPackets(rtp_packets, rtp_timestamp);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user