LeviLamina
Loading...
Searching...
No Matches
MediaStream.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/MediaStreamInterface.h"
7#include "mc/external/webrtc/Notifier.h"
8#include "mc/external/webrtc/scoped_refptr.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace webrtc { class AudioTrackInterface; }
13namespace webrtc { class VideoTrackInterface; }
14// clang-format on
15
16namespace webrtc {
17
18class MediaStream : public ::webrtc::Notifier<::webrtc::MediaStreamInterface> {
19public:
20 // member variables
21 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 MediaStream& operator=(MediaStream const&);
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 3
37 virtual ::std::string id() const /*override*/;
38
39 // vIndex: 11
40 virtual bool AddTrack(::webrtc::scoped_refptr<::webrtc::AudioTrackInterface> track) /*override*/;
41
42 // vIndex: 10
43 virtual bool AddTrack(::webrtc::scoped_refptr<::webrtc::VideoTrackInterface> track) /*override*/;
44
45 // vIndex: 15
46 virtual bool RemoveTrack(::webrtc::scoped_refptr<::webrtc::AudioTrackInterface> track) /*override*/;
47
48 // vIndex: 14
49 virtual bool RemoveTrack(::webrtc::scoped_refptr<::webrtc::VideoTrackInterface> track) /*override*/;
50
51 // vIndex: 6
52 virtual ::webrtc::scoped_refptr<::webrtc::AudioTrackInterface>
53 FindAudioTrack(::std::string const& track_id) /*override*/;
54
55 // vIndex: 7
56 virtual ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>
57 FindVideoTrack(::std::string const& track_id) /*override*/;
58
59 // vIndex: 4
60 virtual ::std::vector<::webrtc::scoped_refptr<::webrtc::AudioTrackInterface>> GetAudioTracks() /*override*/;
61
62 // vIndex: 5
63 virtual ::std::vector<::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>> GetVideoTracks() /*override*/;
64
65 // vIndex: 2
66 virtual ~MediaStream() /*override*/;
67 // NOLINTEND
68
69public:
70 // member functions
71 // NOLINTBEGIN
72 MCNAPI explicit MediaStream(::std::string const& id);
73 // NOLINTEND
74
75public:
76 // static functions
77 // NOLINTBEGIN
78 MCNAPI static ::webrtc::scoped_refptr<::webrtc::MediaStream> Create(::std::string const& id);
79 // NOLINTEND
80
81public:
82 // constructor thunks
83 // NOLINTBEGIN
84 MCNAPI void* $ctor(::std::string const& id);
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90 MCNAPI void $dtor();
91 // NOLINTEND
92
93public:
94 // virtual function thunks
95 // NOLINTBEGIN
96 MCNAPI ::std::string $id() const;
97
99
101
103
105
106 MCNAPI ::webrtc::scoped_refptr<::webrtc::AudioTrackInterface> $FindAudioTrack(::std::string const& track_id);
107
108 MCNAPI ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface> $FindVideoTrack(::std::string const& track_id);
109
110 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::AudioTrackInterface>> $GetAudioTracks();
111
112 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>> $GetVideoTracks();
113 // NOLINTEND
114
115public:
116 // vftables
117 // NOLINTBEGIN
118 MCNAPI static void** $vftableForRefCountInterface();
119
120 MCNAPI static void** $vftableForNotifierInterface();
121 // NOLINTEND
122};
123
124} // namespace webrtc
Definition MediaStream.h:18
MCAPI bool $RemoveTrack(::webrtc::scoped_refptr<::webrtc::VideoTrackInterface > track)
MCAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::AudioTrackInterface > > $GetAudioTracks()
MCAPI bool $RemoveTrack(::webrtc::scoped_refptr<::webrtc::AudioTrackInterface > track)
MCAPI::std::string $id() const
static MCAPI void ** $vftableForRefCountInterface()
MCAPI ::webrtc::scoped_refptr<::webrtc::AudioTrackInterface > $FindAudioTrack(::std::string const &track_id)
MCAPI void * $ctor(::std::string const &id)
MCAPI bool $AddTrack(::webrtc::scoped_refptr<::webrtc::VideoTrackInterface > track)
MCAPI bool $AddTrack(::webrtc::scoped_refptr<::webrtc::AudioTrackInterface > track)
static MCAPI ::webrtc::scoped_refptr<::webrtc::MediaStream > Create(::std::string const &id)
MCAPI void $dtor()
MCAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::VideoTrackInterface > > $GetVideoTracks()
MCAPI MediaStream(::std::string const &id)
MCAPI ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface > $FindVideoTrack(::std::string const &track_id)
static MCAPI void ** $vftableForNotifierInterface()
Definition Notifier.h:8
Definition scoped_refptr.h:8
Definition Alias.h:14