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