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(
37 ::std::string const& name,
38 ::cricket::MediaProtocolType type,
39 bool rejected,
40 ::std::unique_ptr<::cricket::MediaContentDescription> description
41 );
42
43 MCNAPI void AddContent(
44 ::std::string const& name,
45 ::cricket::MediaProtocolType type,
46 bool rejected,
47 bool bundle_only,
48 ::std::unique_ptr<::cricket::MediaContentDescription> description
49 );
50
51 MCNAPI void AddTransportInfo(::cricket::TransportInfo const& transport_info);
52
53 MCNAPI ::std::unique_ptr<::cricket::SessionDescription> Clone() const;
54
55 MCNAPI ::cricket::ContentInfo const* GetContentByName(::std::string const& name) const;
56
57 MCNAPI ::std::vector<::cricket::ContentGroup const*> GetGroupsByName(::std::string const& name) const;
58
59 MCNAPI ::cricket::TransportInfo const* GetTransportInfoByName(::std::string const&) const;
60
61 MCNAPI ::cricket::TransportInfo* GetTransportInfoByName(::std::string const& name);
62
63 MCNAPI bool HasGroup(::std::string const& name) const;
64
66
68
69 MCNAPI void set_extmap_allow_mixed(bool supported);
70
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCNAPI void* $ctor();
78
80 // NOLINTEND
81
82public:
83 // destructor thunk
84 // NOLINTBEGIN
85 MCNAPI void $dtor();
86 // NOLINTEND
87};
88
89} // namespace cricket
Definition ContentGroup.h:7
Definition ContentInfo.h:12
Definition MediaContentDescription.h:19
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 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