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&);
30 MediaStream(MediaStream const&);
31 MediaStream();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ::std::string id() const /*override*/;
37
38 virtual bool AddTrack(::webrtc::scoped_refptr<::webrtc::AudioTrackInterface> track) /*override*/;
39
40 virtual bool AddTrack(::webrtc::scoped_refptr<::webrtc::VideoTrackInterface> track) /*override*/;
41
42 virtual bool RemoveTrack(::webrtc::scoped_refptr<::webrtc::AudioTrackInterface> track) /*override*/;
43
44 virtual bool RemoveTrack(::webrtc::scoped_refptr<::webrtc::VideoTrackInterface> track) /*override*/;
45
46 virtual ::webrtc::scoped_refptr<::webrtc::AudioTrackInterface>
47 FindAudioTrack(::std::string const& track_id) /*override*/;
48
49 virtual ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>
50 FindVideoTrack(::std::string const& track_id) /*override*/;
51
52 virtual ::std::vector<::webrtc::scoped_refptr<::webrtc::AudioTrackInterface>> GetAudioTracks() /*override*/;
53
54 virtual ::std::vector<::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>> GetVideoTracks() /*override*/;
55
56 virtual ~MediaStream() /*override*/ = default;
57 // NOLINTEND
58
59public:
60 // static functions
61 // NOLINTBEGIN
62 MCNAPI static ::webrtc::scoped_refptr<::webrtc::MediaStream> Create(::std::string const& id);
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCNAPI ::std::string $id() const;
69
71
73
75
77
78 MCNAPI ::webrtc::scoped_refptr<::webrtc::AudioTrackInterface> $FindAudioTrack(::std::string const& track_id);
79
80 MCNAPI ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface> $FindVideoTrack(::std::string const& track_id);
81
82 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::AudioTrackInterface>> $GetAudioTracks();
83
84 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>> $GetVideoTracks();
85
86
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCNAPI static void** $vftableForRefCountInterface();
93
94 MCNAPI static void** $vftableForNotifierInterface();
95 // NOLINTEND
96};
97
98} // namespace webrtc
Definition AudioTrackInterface.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 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 ::std::vector<::webrtc::scoped_refptr<::webrtc::VideoTrackInterface > > $GetVideoTracks()
MCAPI ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface > $FindVideoTrack(::std::string const &track_id)
static MCAPI void ** $vftableForNotifierInterface()
Definition Notifier.h:8
Definition VideoTrackInterface.h:20
Definition scoped_refptr.h:8
Definition Alias.h:14