SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
local_stream.hpp
1//
2// © NTT DOCOMO BUSINESS, Inc. All Rights Reserved.
3//
4
5#ifndef SKYWAY_CORE_INTERFACE_LOCAL_STREAM_HPP_
6#define SKYWAY_CORE_INTERFACE_LOCAL_STREAM_HPP_
7
8#include <atomic>
9
10#include "skyway/core/interface/stream.hpp"
11
12namespace skyway {
13namespace core {
14namespace interface {
15
17class LocalStream : public Stream {
18public:
19 virtual ~LocalStream() = default;
20
23 bool IsPublished() const;
24
25 void SetIsPublished(bool is_published);
27
28protected:
29 LocalStream(model::ContentType content_type);
30
31private:
32 std::atomic<bool> is_published_ = false;
33};
34
35} // namespace interface
36} // namespace core
37} // namespace skyway
38
39#endif /* SKYWAY_CORE_INTERFACE_LOCAL_STREAM_HPP_ */
LocalPersonで扱うStream
Definition local_stream.hpp:17
MediaStreamやDataStreamの基底クラス
Definition stream.hpp:15