LeviLamina
Loading...
Searching...
No Matches
VoiceEngineInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/cricket/RtpHeaderExtensionQueryInterface.h"
7#include "mc/external/webrtc/AudioDeviceModule.h"
8#include "mc/external/webrtc/scoped_refptr.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace cricket { class VoiceMediaReceiveChannelInterface; }
13namespace cricket { class VoiceMediaSendChannelInterface; }
14namespace cricket { struct AudioOptions; }
15namespace cricket { struct Codec; }
16namespace cricket { struct MediaConfig; }
17namespace webrtc { class AudioCodecPairId; }
18namespace webrtc { class AudioState; }
19namespace webrtc { class Call; }
20namespace webrtc { class FileWrapper; }
21namespace webrtc { struct CryptoOptions; }
22// clang-format on
23
24namespace cricket {
25
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ~VoiceEngineInterface() /*override*/ = default;
31
32 virtual void Init() = 0;
33
34 virtual ::webrtc::scoped_refptr<::webrtc::AudioState> GetAudioState() const = 0;
35
36 virtual ::std::unique_ptr<::cricket::VoiceMediaSendChannelInterface> CreateSendChannel(
42 );
43
44 virtual ::std::unique_ptr<::cricket::VoiceMediaReceiveChannelInterface> CreateReceiveChannel(
50 );
51
52 virtual ::std::vector<::cricket::Codec> const& send_codecs() const = 0;
53
54 virtual ::std::vector<::cricket::Codec> const& recv_codecs() const = 0;
55
56 virtual bool StartAecDump(::webrtc::FileWrapper, int64) = 0;
57
58 virtual void StopAecDump() = 0;
59
60 virtual ::std::optional<::webrtc::AudioDeviceModule::Stats> GetAudioDeviceStats() = 0;
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66
67 // NOLINTEND
68};
69
70} // namespace cricket
Definition RtpHeaderExtensionQueryInterface.h:12
Definition VoiceEngineInterface.h:26
Definition VoiceMediaReceiveChannelInterface.h:19
Definition VoiceMediaSendChannelInterface.h:18
Definition AudioCodecPairId.h:7
Definition AudioState.h:16
Definition Call.h:35
Definition FileWrapper.h:7
Definition AudioOptions.h:7
Definition Codec.h:17
Definition MediaConfig.h:7
Definition CryptoOptions.h:7