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
16
namespace
skyway {
17
namespace
core {
18
namespace
interface {
19
21
class
LocalStream
:
public
Stream
{
22
public
:
23
virtual
~LocalStream
() =
default
;
24
27
bool
IsPublished()
const
;
28
29
void
SetIsPublished(
bool
is_published);
31
32
protected
:
33
LocalStream
(model::ContentType content_type);
34
35
private
:
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_ */
skyway::core::interface::LocalStream
LocalPersonで扱うStream
Definition
local_stream.hpp:21
skyway::core::interface::Stream
MediaStreamやDataStreamの基底クラス
Definition
stream.hpp:19
include
skyway
core
interface
local_stream.hpp
構築:
1.9.8