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/cricket/MediaType.h"
7#include "mc/external/webrtc/scoped_refptr.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace cricket { class MediaChannelNetworkInterface; }
12namespace cricket { class VideoMediaReceiveChannelInterface; }
13namespace cricket { class VoiceMediaReceiveChannelInterface; }
14namespace cricket { struct StreamParams; }
15namespace webrtc { class FrameDecryptorInterface; }
16namespace webrtc { class FrameTransformerInterface; }
17namespace webrtc { class RtpPacketReceived; }
18// clang-format on
19
20namespace cricket {
21
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 0
27 virtual ~MediaReceiveChannelInterface() = default;
28
29 // vIndex: 1
30 virtual ::cricket::VideoMediaReceiveChannelInterface* AsVideoReceiveChannel() = 0;
31
32 // vIndex: 2
33 virtual ::cricket::VoiceMediaReceiveChannelInterface* AsVoiceReceiveChannel() = 0;
34
35 // vIndex: 3
36 virtual ::cricket::MediaType media_type() const = 0;
37
38 // vIndex: 4
39 virtual bool AddRecvStream(::cricket::StreamParams const&) = 0;
40
41 // vIndex: 5
42 virtual bool RemoveRecvStream(uint) = 0;
43
44 // vIndex: 6
45 virtual void ResetUnsignaledRecvStream() = 0;
46
47 // vIndex: 7
48 virtual void SetInterface(::cricket::MediaChannelNetworkInterface*) = 0;
49
50 // vIndex: 8
51 virtual void OnPacketReceived(::webrtc::RtpPacketReceived const&) = 0;
52
53 // vIndex: 9
54 virtual ::std::optional<uint> GetUnsignaledSsrc() const = 0;
55
56 // vIndex: 10
57 virtual void ChooseReceiverReportSsrc(::std::set<uint> const&) = 0;
58
59 // vIndex: 11
60 virtual void OnDemuxerCriteriaUpdatePending() = 0;
61
62 // vIndex: 12
63 virtual void OnDemuxerCriteriaUpdateComplete() = 0;
64
65 // vIndex: 13
66 virtual void SetFrameDecryptor(uint, ::webrtc::scoped_refptr<::webrtc::FrameDecryptorInterface>) = 0;
67
68 // vIndex: 14
69 virtual void
70 SetDepacketizerToDecoderFrameTransformer(uint, ::webrtc::scoped_refptr<::webrtc::FrameTransformerInterface>) = 0;
71
72 // vIndex: 15
73 virtual bool SetBaseMinimumPlayoutDelayMs(uint, int) = 0;
74
75 // vIndex: 16
76 virtual ::std::optional<int> GetBaseMinimumPlayoutDelayMs(uint) const = 0;
77 // NOLINTEND
78
79public:
80 // destructor thunk
81 // NOLINTBEGIN
82
83 // NOLINTEND
84
85public:
86 // virtual function thunks
87 // NOLINTBEGIN
88
89 // NOLINTEND
90};
91
92} // namespace cricket
Definition MediaChannelNetworkInterface.h:16
Definition MediaReceiveChannelInterface.h:22
Definition RtpPacketReceived.h:16
Definition scoped_refptr.h:8
Definition StreamParams.h:12