LeviLamina
Loading...
Searching...
No Matches
CodecVendor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/RTCErrorOr.h"
7#include "mc/external/webrtc/RtpTransceiverDirection.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class CodecList; }
12namespace webrtc { class ContentInfo; }
13namespace webrtc { class FieldTrialsView; }
14namespace webrtc { class MediaEngineInterface; }
15namespace webrtc { class PayloadTypeSuggester; }
16namespace webrtc { struct Codec; }
17namespace webrtc { struct MediaDescriptionOptions; }
18namespace webrtc { struct MediaSessionOptions; }
19// clang-format on
20
21namespace webrtc {
22
23class CodecVendor {
24public:
25 // member variables
26 // NOLINTBEGIN
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 CodecVendor& operator=(CodecVendor const&);
36 CodecVendor(CodecVendor const&);
37 CodecVendor();
38
39public:
40 // member functions
41 // NOLINTBEGIN
44 bool rtx_enabled,
45 ::webrtc::FieldTrialsView const& trials
46 );
47
48 MCNAPI ::webrtc::CodecList GetAudioCodecsForOffer(::webrtc::RtpTransceiverDirection const& direction) const;
49
50 MCNAPI ::webrtc::RTCErrorOr<::std::vector<::webrtc::Codec>> GetNegotiatedCodecsForAnswer(
51 ::webrtc::MediaDescriptionOptions const& media_description_options,
52 ::webrtc::MediaSessionOptions const& session_options,
53 ::webrtc::RtpTransceiverDirection offer_rtd,
54 ::webrtc::RtpTransceiverDirection answer_rtd,
55 ::webrtc::ContentInfo const* current_content,
56 ::std::vector<::webrtc::Codec> codecs_from_offer,
58 );
59
60 MCNAPI ::webrtc::RTCErrorOr<::std::vector<::webrtc::Codec>> GetNegotiatedCodecsForOffer(
61 ::webrtc::MediaDescriptionOptions const& media_description_options,
62 ::webrtc::MediaSessionOptions const& session_options,
63 ::webrtc::ContentInfo const* current_content,
65 );
66
67 MCNAPI ::webrtc::CodecList GetVideoCodecsForOffer(::webrtc::RtpTransceiverDirection const& direction) const;
68
69 MCNAPI void ModifyVideoCodecs(::std::vector<::std::pair<::webrtc::Codec, ::webrtc::Codec>> changes);
70
71 MCNAPI ::webrtc::CodecList all_audio_codecs() const;
72
73 MCNAPI ::webrtc::CodecList all_video_codecs() const;
74
75 MCNAPI ::webrtc::CodecList const& audio_recv_codecs() const;
76
77 MCNAPI ::webrtc::CodecList const& audio_send_codecs() const;
78
79 MCNAPI ::webrtc::CodecList const& video_recv_codecs() const;
80
81 MCNAPI ::webrtc::CodecList const& video_send_codecs() const;
82
83 MCNAPI ~CodecVendor();
84 // NOLINTEND
85
86public:
87 // constructor thunks
88 // NOLINTBEGIN
89 MCNAPI void*
90 $ctor(::webrtc::MediaEngineInterface* media_engine, bool rtx_enabled, ::webrtc::FieldTrialsView const& trials);
91 // NOLINTEND
92
93public:
94 // destructor thunk
95 // NOLINTBEGIN
96 MCNAPI void $dtor();
97 // NOLINTEND
98};
99
100} // namespace webrtc
Definition CodecList.h:15
MCAPI::webrtc::CodecList const & video_recv_codecs() const
MCAPI void * $ctor(::webrtc::MediaEngineInterface *media_engine, bool rtx_enabled, ::webrtc::FieldTrialsView const &trials)
MCAPI ::webrtc::RTCErrorOr<::std::vector<::webrtc::Codec > > GetNegotiatedCodecsForOffer(::webrtc::MediaDescriptionOptions const &media_description_options, ::webrtc::MediaSessionOptions const &session_options, ::webrtc::ContentInfo const *current_content, ::webrtc::PayloadTypeSuggester &pt_suggester)
MCAPI::webrtc::CodecList const & audio_recv_codecs() const
MCAPI::webrtc::CodecList all_video_codecs() const
MCAPI::webrtc::CodecList const & audio_send_codecs() const
MCAPI ::webrtc::RTCErrorOr<::std::vector<::webrtc::Codec > > GetNegotiatedCodecsForAnswer(::webrtc::MediaDescriptionOptions const &media_description_options, ::webrtc::MediaSessionOptions const &session_options, ::webrtc::RtpTransceiverDirection offer_rtd, ::webrtc::RtpTransceiverDirection answer_rtd, ::webrtc::ContentInfo const *current_content, ::std::vector<::webrtc::Codec > codecs_from_offer, ::webrtc::PayloadTypeSuggester &pt_suggester)
MCAPI void ModifyVideoCodecs(::std::vector<::std::pair<::webrtc::Codec, ::webrtc::Codec > > changes)
MCAPI CodecVendor(::webrtc::MediaEngineInterface *media_engine, bool rtx_enabled, ::webrtc::FieldTrialsView const &trials)
MCAPI::webrtc::CodecList all_audio_codecs() const
MCAPI void $dtor()
MCAPI::webrtc::CodecList GetVideoCodecsForOffer(::webrtc::RtpTransceiverDirection const &direction) const
MCAPI::webrtc::CodecList GetAudioCodecsForOffer(::webrtc::RtpTransceiverDirection const &direction) const
MCAPI::webrtc::CodecList const & video_send_codecs() const
Definition ContentInfo.h:12
Definition FieldTrialsView.h:7
Definition MediaEngineInterface.h:13
Definition PayloadTypeSuggester.h:17
Definition Alias.h:14
Definition Codec.h:13
Definition MediaDescriptionOptions.h:17
Definition MediaSessionOptions.h:7