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