chromium/third_party/blink/renderer/modules/peerconnection/rtc_rtp_transport.h

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_PEERCONNECTION_RTC_RTP_TRANSPORT_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_PEERCONNECTION_RTC_RTP_TRANSPORT_H_

#include "base/memory/weak_ptr.h"
#include "third_party/blink/renderer/core/execution_context/execution_context_lifecycle_observer.h"
#include "third_party/blink/renderer/core/workers/custom_event_message.h"
#include "third_party/blink/renderer/core/workers/dedicated_worker.h"
#include "third_party/blink/renderer/modules/event_modules.h"
#include "third_party/blink/renderer/modules/modules_export.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_rtp_acks.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_rtp_sent.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_rtp_transport_processor.h"
#include "third_party/blink/renderer/platform/bindings/script_wrappable.h"
#include "third_party/blink/renderer/platform/heap/cross_thread_handle.h"
#include "third_party/webrtc/api/transport/network_control.h"

namespace blink {

// Event created on a Worker containing a newly created
// RTCRtpTransportProcessor, triggered by a call to
// RTCRtpTransport::createProcessor() on the main thread.
class MODULES_EXPORT RTCRtpTransportProcessorEvent : public Event {};

class FeedbackProvider : public WTF::ThreadSafeRefCounted<FeedbackProvider> {};

class MODULES_EXPORT RTCRtpTransport : public ScriptWrappable,
                                       public ExecutionContextClient {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_MODULES_PEERCONNECTION_RTC_RTP_TRANSPORT_H_