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/cricket/MediaProtocolType.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace cricket { class ContentGroup; }
11namespace cricket { class ContentInfo; }
12namespace cricket { class MediaContentDescription; }
13namespace cricket { struct TransportInfo; }
14// clang-format on
15
16namespace cricket {
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(::cricket::ContentInfo&& content);
37
38 MCNAPI void AddContent(
39 ::std::string const& name,
40 ::cricket::MediaProtocolType type,
41 bool rejected,
42 ::std::unique_ptr<::cricket::MediaContentDescription> description
43 );
44
45 MCNAPI void AddContent(
46 ::std::string const& name,
47 ::cricket::MediaProtocolType type,
48 bool rejected,
49 bool bundle_only,
50 ::std::unique_ptr<::cricket::MediaContentDescription> description
51 );
52
53 MCNAPI void AddTransportInfo(::cricket::TransportInfo const& transport_info);
54
55 MCNAPI ::std::unique_ptr<::cricket::SessionDescription> Clone() const;
56
57 MCNAPI ::cricket::ContentInfo const* GetContentByName(::std::string const& name) const;
58
59 MCNAPI ::std::vector<::cricket::ContentGroup const*> GetGroupsByName(::std::string const& name) const;
60
61 MCNAPI ::cricket::TransportInfo const* GetTransportInfoByName(::std::string const&) const;
62
63 MCNAPI ::cricket::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
82 // NOLINTEND
83
84public:
85 // destructor thunk
86 // NOLINTBEGIN
87 MCNAPI void $dtor();
88 // NOLINTEND
89};
90
91} // namespace cricket
Definition ContentInfo.h:12
Definition SessionDescription.h:18
MCAPI void AddContent(::std::string const &name, ::cricket::MediaProtocolType type, bool rejected, ::std::unique_ptr<::cricket::MediaContentDescription > description)
MCAPI void set_extmap_allow_mixed(bool supported)
MCAPI void * $ctor(::cricket::SessionDescription const &)
MCAPI ::std::unique_ptr<::cricket::SessionDescription > Clone() const
MCAPI bool HasGroup(::std::string const &name) const
MCAPI void AddContent(::std::string const &name, ::cricket::MediaProtocolType type, bool rejected, bool bundle_only, ::std::unique_ptr<::cricket::MediaContentDescription > description)
MCAPI void AddContent(::cricket::ContentInfo &&content)
MCAPI void AddTransportInfo(::cricket::TransportInfo const &transport_info)
MCAPI ::std::vector<::cricket::ContentGroup const * > GetGroupsByName(::std::string const &name) const
MCAPI SessionDescription(::cricket::SessionDescription const &)
MCAPI::cricket::TransportInfo * GetTransportInfoByName(::std::string const &name)
MCAPI::cricket::TransportInfo const * GetTransportInfoByName(::std::string const &) const
MCAPI::cricket::ContentInfo const * GetContentByName(::std::string const &name) const
Definition TransportInfo.h:7
Definition Alias.h:14