LeviLamina
Loading...
Searching...
No Matches
MediaReceiveChannelInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/MediaType.h"
7#include "mc/external/webrtc/scoped_refptr.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class FrameDecryptorInterface; }
12namespace webrtc { class FrameTransformerInterface; }
13namespace webrtc { class MediaChannelNetworkInterface; }
14namespace webrtc { class RtpPacketReceived; }
15namespace webrtc { class VideoMediaReceiveChannelInterface; }
16namespace webrtc { class VoiceMediaReceiveChannelInterface; }
17namespace webrtc { struct StreamParams; }
18// clang-format on
19
20namespace webrtc {
21
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual ~MediaReceiveChannelInterface() = default;
27
28 virtual ::webrtc::VideoMediaReceiveChannelInterface* AsVideoReceiveChannel() = 0;
29
30 virtual ::webrtc::VoiceMediaReceiveChannelInterface* AsVoiceReceiveChannel() = 0;
31
32 virtual ::webrtc::MediaType media_type() const = 0;
33
34 virtual bool AddRecvStream(::webrtc::StreamParams const&) = 0;
35
36 virtual bool RemoveRecvStream(uint) = 0;
37
38 virtual void ResetUnsignaledRecvStream() = 0;
39
40 virtual void SetInterface(::webrtc::MediaChannelNetworkInterface*) = 0;
41
42 virtual void OnPacketReceived(::webrtc::RtpPacketReceived const&) = 0;
43
44 virtual ::std::optional<uint> GetUnsignaledSsrc() const = 0;
45
46 virtual void ChooseReceiverReportSsrc(::std::set<uint> const&) = 0;
47
48 virtual void OnDemuxerCriteriaUpdatePending() = 0;
49
50 virtual void OnDemuxerCriteriaUpdateComplete() = 0;
51
52 virtual void SetFrameDecryptor(uint, ::webrtc::scoped_refptr<::webrtc::FrameDecryptorInterface>) = 0;
53
54 virtual void SetDepacketizerToDecoderFrameTransformer(
55 uint,
57 ) = 0;
58
59 virtual bool SetBaseMinimumPlayoutDelayMs(uint, int) = 0;
60
61 virtual ::std::optional<int> GetBaseMinimumPlayoutDelayMs(uint) const = 0;
62 // NOLINTEND
63};
64
65} // namespace webrtc
Definition FrameDecryptorInterface.h:12
Definition FrameTransformerInterface.h:17
Definition MediaChannelNetworkInterface.h:16
Definition MediaReceiveChannelInterface.h:22
Definition RtpPacketReceived.h:16
Definition VideoMediaReceiveChannelInterface.h:23
Definition VoiceMediaReceiveChannelInterface.h:20
Definition scoped_refptr.h:8
Definition StreamParams.h:12