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 DOCOMO BUSINESS, Inc. 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 void SetContentHint(webrtc::VideoTrackInterface::ContentHint content_hint);
37
38private:
39 rtc::scoped_refptr<webrtc::VideoTrackInterface> track_;
40};
41
42} // namespace local
43} // namespace stream
44} // namespace core
45} // namespace skyway
46
47#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を取得します。