SkyWay for Linux
読み取り中…
検索中…
一致する文字列を見つけられません
stream_factory.hpp
1//
2// stream_factory.hpp
3// skyway
4//
5// Created by iorar on 2024/10/28.
6// Copyright © 2024 NTT Communications. All rights reserved.
7//
8
9#ifndef SKYWAY_MEDIA_STREAM_FACTORY_HPP_
10#define SKYWAY_MEDIA_STREAM_FACTORY_HPP_
11
12#include "skyway/media/device_manager.hpp"
13
14#include <skyway/core/stream/local/audio_stream.hpp>
15#include <skyway/core/stream/local/data_stream.hpp>
16#include <skyway/core/stream/local/video_stream.hpp>
17
18namespace skyway {
19namespace media {
20
23public:
25 static std::shared_ptr<core::stream::local::LocalDataStream> CreateDataStream();
26
28 static std::shared_ptr<core::stream::local::LocalAudioStream> CreateAudioStream();
29
32 static std::shared_ptr<core::stream::local::LocalVideoStream> CreateVideoStream(
33 const DeviceManager::VideoDevice& device);
34
35private:
36};
37} // namespace media
38} // namespace skyway
39
40#endif /* SKYWAY_MEDIA_STREAM_FACTORY_HPP_ */
Streamの作成を行うクラス
Definition stream_factory.hpp:22
static std::shared_ptr< core::stream::local::LocalDataStream > CreateDataStream()
LocalDataStreamを生成します。
static std::shared_ptr< core::stream::local::LocalAudioStream > CreateAudioStream()
LocalAudioStreamを生成します。
static std::shared_ptr< core::stream::local::LocalVideoStream > CreateVideoStream(const DeviceManager::VideoDevice &device)
LocalVideoStreamを生成します。
映像デバイス
Definition device_manager.hpp:35