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