SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
stream.hpp
1//
2// © NTT DOCOMO BUSINESS, Inc. All Rights Reserved.
3//
4
5#ifndef SKYWAY_CORE_INTERFACE_STREAM_HPP_
6#define SKYWAY_CORE_INTERFACE_STREAM_HPP_
7
8#include "skyway/model/domain.hpp"
9
10namespace skyway {
11namespace core {
12namespace interface {
13
15class Stream {
16public:
17 virtual ~Stream() = default;
18 Stream(const std::string& id, model::Side side, model::ContentType content_type);
19
21 std::string Id() const;
22
24 model::Side Side() const;
25
27 model::ContentType ContentType() const;
28
31 virtual bool Enable() = 0;
33 virtual bool Disable() = 0;
35
36private:
37 std::string id_;
38 model::Side side_;
39 model::ContentType content_type_;
40};
41
42} // namespace interface
43} // namespace core
44} // namespace skyway
45
46#endif /* SKYWAY_CORE_INTERFACE_STREAM_HPP_ */
MediaStreamやDataStreamの基底クラス
Definition stream.hpp:15
model::Side Side() const
Side(LocalかRemoteか)を取得します。
std::string Id() const
Idを取得します
model::ContentType ContentType() const
ContentType(VideoかAudioかDataか)を取得します。