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
10
namespace
skyway {
11
namespace
core {
12
namespace
interface {
13
15
class
Stream
{
16
public
:
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
36
private
:
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_ */
skyway::core::interface::Stream
MediaStreamやDataStreamの基底クラス
Definition
stream.hpp:15
skyway::core::interface::Stream::Side
model::Side Side() const
Side(LocalかRemoteか)を取得します。
skyway::core::interface::Stream::Id
std::string Id() const
Idを取得します
skyway::core::interface::Stream::ContentType
model::ContentType ContentType() const
ContentType(VideoかAudioかDataか)を取得します。
include
skyway
core
interface
stream.hpp
構築:
1.9.8