LeviLamina
Loading...
Searching...
No Matches
MediaStreamInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/NotifierInterface.h"
7#include "mc/external/webrtc/RefCountInterface.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
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual ::std::string id() const = 0;
23
24 virtual ::std::vector<::webrtc::scoped_refptr<::webrtc::AudioTrackInterface>> GetAudioTracks() = 0;
25
26 virtual ::std::vector<::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>> GetVideoTracks() = 0;
27
28 virtual ::webrtc::scoped_refptr<::webrtc::AudioTrackInterface> FindAudioTrack(::std::string const&) = 0;
29
30 virtual ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface> FindVideoTrack(::std::string const&) = 0;
31
33
35
36 virtual bool AddTrack(::webrtc::AudioTrackInterface* track);
37
38 virtual bool AddTrack(::webrtc::VideoTrackInterface* track);
39
40 virtual bool RemoveTrack(::webrtc::scoped_refptr<::webrtc::AudioTrackInterface> track);
41
42 virtual bool RemoveTrack(::webrtc::scoped_refptr<::webrtc::VideoTrackInterface> track);
43
44 virtual bool RemoveTrack(::webrtc::AudioTrackInterface* track);
45
46 virtual bool RemoveTrack(::webrtc::VideoTrackInterface* track);
47
48 virtual ~MediaStreamInterface() /*override*/;
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCNAPI void $dtor();
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
61
63
65
67
69
71
73
75
76
77 // NOLINTEND
78};
79
80} // namespace webrtc
Definition AudioTrackInterface.h:18
Definition MediaStreamInterface.h:18
MCAPI bool $AddTrack(::webrtc::scoped_refptr<::webrtc::AudioTrackInterface > track)
MCAPI bool $AddTrack(::webrtc::scoped_refptr<::webrtc::VideoTrackInterface > track)
MCAPI bool $RemoveTrack(::webrtc::scoped_refptr<::webrtc::VideoTrackInterface > track)
MCAPI bool $RemoveTrack(::webrtc::VideoTrackInterface *track)
MCAPI bool $RemoveTrack(::webrtc::AudioTrackInterface *track)
MCAPI bool $AddTrack(::webrtc::VideoTrackInterface *track)
MCAPI bool $RemoveTrack(::webrtc::scoped_refptr<::webrtc::AudioTrackInterface > track)
MCAPI bool $AddTrack(::webrtc::AudioTrackInterface *track)
Definition NotifierInterface.h:12
Definition RefCountInterface.h:10
Definition VideoTrackInterface.h:20
Definition scoped_refptr.h:8