LeviLamina
Loading...
Searching...
No Matches
TrackMediaInfoMap.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/scoped_refptr.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace cricket { struct VideoMediaInfo; }
11namespace cricket { struct VideoReceiverInfo; }
12namespace cricket { struct VideoSenderInfo; }
13namespace cricket { struct VoiceMediaInfo; }
14namespace cricket { struct VoiceReceiverInfo; }
15namespace cricket { struct VoiceSenderInfo; }
16namespace webrtc { class AudioTrackInterface; }
17namespace webrtc { class MediaStreamTrackInterface; }
18namespace webrtc { class RtpReceiverInternal; }
19namespace webrtc { class RtpSenderInternal; }
20namespace webrtc { class VideoTrackInterface; }
21// clang-format on
22
23namespace webrtc {
24
26public:
27 // prevent constructor by default
28 TrackMediaInfoMap& operator=(TrackMediaInfoMap const&);
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI ::std::optional<int> GetAttachmentIdByTrack(::webrtc::MediaStreamTrackInterface const*) const;
34
35 MCAPI ::webrtc::scoped_refptr<::webrtc::AudioTrackInterface> GetAudioTrack(::cricket::VoiceSenderInfo const&) const;
36
37 MCAPI ::webrtc::scoped_refptr<::webrtc::AudioTrackInterface>
38 GetAudioTrack(::cricket::VoiceReceiverInfo const&) const;
39
40 MCAPI ::cricket::VideoSenderInfo const* GetVideoSenderInfoBySsrc(uint) const;
41
42 MCAPI ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface> GetVideoTrack(::cricket::VideoSenderInfo const&) const;
43
44 MCAPI ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>
45 GetVideoTrack(::cricket::VideoReceiverInfo const&) const;
46
47 MCAPI ::cricket::VoiceSenderInfo const* GetVoiceSenderInfoBySsrc(uint) const;
48
49 MCAPI void
50 Initialize(::std::optional<::cricket::VoiceMediaInfo>, ::std::optional<::cricket::VideoMediaInfo>, ::rtc::ArrayView<::webrtc::scoped_refptr<::webrtc::RtpSenderInternal>>, ::rtc::ArrayView<::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal>>);
51
52 MCAPI TrackMediaInfoMap();
53
55
57
58 MCAPI ~TrackMediaInfoMap();
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor();
65
66 MCAPI void* $ctor(::webrtc::TrackMediaInfoMap&&);
67
68 MCAPI void* $ctor(::webrtc::TrackMediaInfoMap const&);
69 // NOLINTEND
70
71public:
72 // destructor thunk
73 // NOLINTBEGIN
74 MCAPI void $dtor();
75 // NOLINTEND
76};
77
78} // namespace webrtc
Definition _HeaderOutputPredefine.h:238
Definition MediaStreamTrackInterface.h:11
Definition TrackMediaInfoMap.h:25
Definition scoped_refptr.h:8
Definition VideoReceiverInfo.h:10
Definition VideoSenderInfo.h:10
Definition VoiceReceiverInfo.h:10
Definition VoiceSenderInfo.h:10