SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
video_stream.hpp
1//
2// video_stream.hpp
3// skyway
4//
5// Created by sandabu on 2022/02/01.
6// Copyright © 2022 NTT Communications. All rights reserved.
7//
8
9#ifndef SKYWAY_CORE_STREAM_LOCAL_VIDEO_STREAM_HPP_
10#define SKYWAY_CORE_STREAM_LOCAL_VIDEO_STREAM_HPP_
11
12#include <api/media_stream_interface.h>
13
14#include "skyway/core/interface/local_media_stream.hpp"
15
16namespace skyway {
17namespace core {
18namespace stream {
19namespace local {
20
21using LocalMediaStream = interface::LocalMediaStream;
22
25public:
26 LocalVideoStream(rtc::scoped_refptr<webrtc::VideoTrackInterface> track);
27 rtc::scoped_refptr<webrtc::MediaStreamTrackInterface> Track() const override;
28
31 bool Enable() override;
33 bool Disable() override;
35
36private:
37 rtc::scoped_refptr<webrtc::VideoTrackInterface> track_;
38};
39
40} // namespace local
41} // namespace stream
42} // namespace core
43} // namespace skyway
44
45#endif /* SKYWAY_CORE_STREAM_LOCAL_VIDEO_STREAM_HPP_ */
LocalPersonで扱うMediaStream
Definition local_media_stream.hpp:21
LocalPersonで扱うVideoStream
Definition video_stream.hpp:24
rtc::scoped_refptr< webrtc::MediaStreamTrackInterface > Track() const override
Trackを取得します。