Build fixes

This commit is contained in:
Miriam Zimmerman 2026-05-01 14:59:17 -04:00
parent 31a3397e96
commit 8ace227e4f
4 changed files with 9 additions and 13 deletions

View File

@ -254,8 +254,6 @@ RTCError JsepTransport::SetRemoteJsepTransportDescription(
return RTCError(RTCErrorType::INVALID_PARAMETER,
"Failed to setup SRTP crypto parameters.");
}
custom_srtp_transport->CacheRtpAbsSendTimeHeaderExtension(
jsep_description.rtp_abs_sendtime_extn_id);
}
// end RingRTC

View File

@ -597,9 +597,6 @@ std::unique_ptr<RtpTransport> JsepTransportController::CreateCustomSrtpTransport
if (rtcp_dtls_transport) {
srtp_transport->SetRtcpPacketTransportOwned(std::move(rtcp_dtls_transport));
}
if (config_.enable_external_auth) {
srtp_transport->EnableExternalAuth();
}
srtp_transport->SubscribeRtcpPacketReceived(
this, [this](CopyOnWriteBuffer packet,
std::optional<Timestamp> arrival_time, EcnMarking ecn) {

View File

@ -5,6 +5,8 @@
#include "rffi/src/peer_connection_observer.h"
#include <span>
#include "pc/webrtc_sdp.h"
#include "rffi/src/ptr.h"
#include "rtc_base/net_helper.h"
@ -222,9 +224,9 @@ class Encryptor : public FrameEncryptorInterface {
uint32_t _ssrc,
// This is not supported by our SFU currently, so don't bother
// trying to use it.
ArrayView<const uint8_t> _generic_video_header,
ArrayView<const uint8_t> plaintext,
ArrayView<uint8_t> ciphertext_buffer,
std::span<const uint8_t> _generic_video_header,
std::span<const uint8_t> plaintext,
std::span<uint8_t> ciphertext_buffer,
size_t* ciphertext_size) override {
bool is_audio = (media_type == MediaType::AUDIO);
bool is_video = (media_type == MediaType::VIDEO);
@ -339,9 +341,9 @@ class Decryptor : public FrameDecryptorInterface {
const std::vector<uint32_t>& _csrcs,
// This is not supported by our SFU currently, so don't bother trying to
// use it.
ArrayView<const uint8_t> _generic_video_header,
ArrayView<const uint8_t> ciphertext,
ArrayView<uint8_t> plaintext_buffer) override {
std::span<const uint8_t> _generic_video_header,
std::span<const uint8_t> ciphertext,
std::span<uint8_t> plaintext_buffer) override {
bool is_audio = (media_type == MediaType::AUDIO);
bool is_video = (media_type == MediaType::VIDEO);
if (!is_audio && !is_video) {

View File

@ -80,8 +80,7 @@ BufferedFrameDecryptor::FrameDecision BufferedFrameDecryptor::DecryptFrame(
// RingRTC change to allow encryption without generic descriptor
// Place the decrypted frame inline into the existing frame.
ArrayView<uint8_t> encrypted_bitstream(frame->mutable_data(),
frame->size());
std::span<uint8_t> encrypted_bitstream(frame->mutable_data(), frame->size());
// Place the decrypted frame inline into the existing frame.
std::span<uint8_t> inline_decrypted_bitstream(frame->mutable_data(),