SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
audio_stream.hpp
1//
2// audio_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_STREAM_LOCAL_AUDIO_STREAM_HPP_
10#define SKYWAY_CORE_STREAM_LOCAL_AUDIO_STREAM_HPP_
11
12#include "skyway/core/interface/local_media_stream.hpp"
13
14namespace skyway {
15namespace core {
16namespace stream {
17namespace local {
18
19using LocalMediaStream = interface::LocalMediaStream;
20
23public:
24 LocalAudioStream(rtc::scoped_refptr<webrtc::AudioTrackInterface> track);
25 rtc::scoped_refptr<webrtc::MediaStreamTrackInterface> Track() const override;
26
29 bool Enable() override;
31 bool Disable() override;
33
34private:
35 rtc::scoped_refptr<webrtc::AudioTrackInterface> track_;
36};
37
38} // namespace local
39} // namespace stream
40} // namespace core
41} // namespace skyway
42
43#endif /* SKYWAY_CORE_STREAM_LOCAL_AUDIO_STREAM_HPP_ */
LocalPersonで扱うMediaStream
Definition local_media_stream.hpp:21
LocalPersonで扱うAudioStream
Definition audio_stream.hpp:22
rtc::scoped_refptr< webrtc::MediaStreamTrackInterface > Track() const override
Trackを取得します。