LeviLamina
Loading...
Searching...
No Matches
PayloadTypeSuggester.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/RTCErrorOr.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class PayloadType; }
11namespace webrtc { class RTCError; }
12namespace webrtc { struct Codec; }
13// clang-format on
14
15namespace webrtc {
16
18public:
19 // virtual functions
20 // NOLINTBEGIN
21 virtual ~PayloadTypeSuggester() = default;
22
23 virtual ::webrtc::RTCErrorOr<::webrtc::PayloadType>
24 SuggestPayloadType(::std::string const& mid, ::webrtc::Codec codec) = 0;
25
26 virtual ::webrtc::RTCError
27 AddLocalMapping(::std::string const& mid, ::webrtc::PayloadType payload_type, ::webrtc::Codec const& codec) = 0;
28 // NOLINTEND
29
30public:
31 // vftables
32 // NOLINTBEGIN
33 MCNAPI static void** $vftable();
34 // NOLINTEND
35};
36
37} // namespace webrtc
Definition PayloadTypeSuggester.h:17
static MCAPI void ** $vftable()
Definition PayloadType.h:15
Definition RTCError.h:10
Definition Codec.h:13