LeviLamina
Loading...
Searching...
No Matches
SessionDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/MediaProtocolType.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class ContentGroup; }
11namespace webrtc { class ContentInfo; }
12namespace webrtc { class MediaContentDescription; }
13namespace webrtc { struct TransportInfo; }
14// clang-format on
15
16namespace webrtc {
17
19public:
20 // member variables
21 // NOLINTBEGIN
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 SessionDescription& operator=(SessionDescription const&);
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCNAPI void AddContent(::webrtc::ContentInfo&& content);
37
38 MCNAPI void AddContent(
39 ::std::string const& name,
40 ::webrtc::MediaProtocolType type,
41 bool rejected,
42 ::std::unique_ptr<::webrtc::MediaContentDescription> description
43 );
44
45 MCNAPI void AddContent(
46 ::std::string const& name,
47 ::webrtc::MediaProtocolType type,
48 bool rejected,
49 bool bundle_only,
50 ::std::unique_ptr<::webrtc::MediaContentDescription> description
51 );
52
53 MCNAPI void AddTransportInfo(::webrtc::TransportInfo const& transport_info);
54
55 MCNAPI ::std::unique_ptr<::webrtc::SessionDescription> Clone() const;
56
57 MCNAPI ::webrtc::ContentInfo const* GetContentByName(::std::string const& name) const;
58
59 MCNAPI ::std::vector<::webrtc::ContentGroup const*> GetGroupsByName(::std::string const& name) const;
60
61 MCNAPI ::webrtc::TransportInfo const* GetTransportInfoByName(::std::string const& name) const;
62
63 MCNAPI ::webrtc::TransportInfo* GetTransportInfoByName(::std::string const& name);
64
65 MCNAPI bool HasGroup(::std::string const& name) const;
66
68
70
71 MCNAPI void set_extmap_allow_mixed(bool supported);
72
74 // NOLINTEND
75
76public:
77 // constructor thunks
78 // NOLINTBEGIN
79 MCNAPI void* $ctor();
80
81 MCNAPI void* $ctor(::webrtc::SessionDescription const&);
82 // NOLINTEND
83
84public:
85 // destructor thunk
86 // NOLINTBEGIN
87 MCNAPI void $dtor();
88 // NOLINTEND
89};
90
91} // namespace webrtc
Definition ContentGroup.h:7
Definition ContentInfo.h:12
Definition MediaContentDescription.h:20
Definition SessionDescription.h:18
MCAPI::webrtc::TransportInfo const * GetTransportInfoByName(::std::string const &name) const
MCAPI SessionDescription(::webrtc::SessionDescription const &)
MCAPI void AddContent(::std::string const &name, ::webrtc::MediaProtocolType type, bool rejected, ::std::unique_ptr<::webrtc::MediaContentDescription > description)
MCAPI void AddContent(::webrtc::ContentInfo &&content)
MCAPI void AddContent(::std::string const &name, ::webrtc::MediaProtocolType type, bool rejected, bool bundle_only, ::std::unique_ptr<::webrtc::MediaContentDescription > description)
MCAPI void AddTransportInfo(::webrtc::TransportInfo const &transport_info)
MCAPI ::std::unique_ptr<::webrtc::SessionDescription > Clone() const
MCAPI bool HasGroup(::std::string const &name) const
MCAPI ::std::vector<::webrtc::ContentGroup const * > GetGroupsByName(::std::string const &name) const
MCAPI::webrtc::ContentInfo const * GetContentByName(::std::string const &name) const
MCAPI void * $ctor(::webrtc::SessionDescription const &)
MCAPI void set_extmap_allow_mixed(bool supported)
MCAPI::webrtc::TransportInfo * GetTransportInfoByName(::std::string const &name)
Definition Alias.h:14
Definition TransportInfo.h:7