Zao SDK for Jetson / libzao-endpoint API リファレンス 1.6.0.0 (2024-12-24)
Loading...
Searching...
No Matches
StreamData.hpp
1#ifndef ZAO_ENDPOINT_MONITOR_STREAM_DATA_HPP_
2#define ZAO_ENDPOINT_MONITOR_STREAM_DATA_HPP_
3
4#include <vector>
5
6namespace zao {
7namespace endpoint {
8namespace monitor {
9
14struct StreamData {
15 public:
20 StreamData() noexcept {}
21
51 StreamData(int video_source, int embedded_audio_source,
52 int external_audio_source, int external_audio_sink,
53 int serial_proxy_source, int serial_proxy_sink,
54 int ip_proxy_source, int ip_proxy_sink) noexcept
55 : video_source_(video_source),
56 embedded_audio_source_(embedded_audio_source),
57 external_audio_source_(external_audio_source),
58 external_audio_sink_(external_audio_sink),
59 serial_proxy_source_(serial_proxy_source),
60 serial_proxy_sink_(serial_proxy_sink),
61 ip_proxy_source_(ip_proxy_source),
62 ip_proxy_sink_(ip_proxy_sink) {}
67 int GetVideoSource() const noexcept {
68 return video_source_;
69 }
70
75 int GetEmbeddedAudioSource() const noexcept {
76 return embedded_audio_source_;
77 }
78
83 int GetExternalAudioSource() const noexcept {
84 return external_audio_source_;
85 }
86
91 int GetExternalAudioSink() const noexcept {
92 return external_audio_sink_;
93 }
94
99 int GetSerialProxySource() const noexcept {
100 return serial_proxy_source_;
101 }
102
107 int GetSerialProxySink() const noexcept {
108 return serial_proxy_sink_;
109 }
110
115 int GetIpProxySource() const noexcept {
116 return ip_proxy_source_;
117 }
118
123 int GetIpProxySink() const noexcept {
124 return ip_proxy_sink_;
125 }
126
127 private:
132 int video_source_ = 0;
133
138 int embedded_audio_source_ = -1;
139
144 int external_audio_source_ = -1;
145
150 int external_audio_sink_ = -1;
151
156 int serial_proxy_source_ = -1;
157
162 int serial_proxy_sink_ = -1;
163
168 int ip_proxy_source_ = -1;
169
174 int ip_proxy_sink_ = -1;
175
176};
177
178} // namespace monitor
179} // namespace endpoint
180} // namespace zao
181
182#endif // ZAO_ENDPOINT_MONITOR_STREAM_DATA_HPP_
Zao製品共通の名前空間
Definition FactoryInterface.hpp:11
RASCOW2 Stream データ情報フォーマット
Definition StreamData.hpp:14
int GetVideoSource() const noexcept
映像ストリームの送信レートを取得
Definition StreamData.hpp:67
StreamData() noexcept
StreamData オブジェクトをデフォルト構築する.
Definition StreamData.hpp:20
int GetExternalAudioSource() const noexcept
外部音声ストリームの送信レートを取得
Definition StreamData.hpp:83
int GetIpProxySource() const noexcept
IPトンネリングの送信レートを取得
Definition StreamData.hpp:115
int GetSerialProxySource() const noexcept
シリアルトンネリングの送信レートを取得
Definition StreamData.hpp:99
int GetEmbeddedAudioSource() const noexcept
エンベデッド音声ストリームの送信レートを取得
Definition StreamData.hpp:75
int GetSerialProxySink() const noexcept
シリアルトンネリングの受信レートを取得
Definition StreamData.hpp:107
int GetIpProxySink() const noexcept
IPトンネリングの受信レートを取得
Definition StreamData.hpp:123
int GetExternalAudioSink() const noexcept
外部音声ストリームの受信レートを取得
Definition StreamData.hpp:91
StreamData(int video_source, int embedded_audio_source, int external_audio_source, int external_audio_sink, int serial_proxy_source, int serial_proxy_sink, int ip_proxy_source, int ip_proxy_sink) noexcept
StreamData オブジェクトを初期値付きで構築する.
Definition StreamData.hpp:51