SkyWay for Linux
読み取り中…
検索中…
一致する文字列を見つけられません
remote_media_stream.hpp
1//
2// remote_media_stream.hpp
3// skyway
4//
5// Created by ogura on 2023/02/07.
6// Copyright © 2023 NTT Communications. All rights reserved.
7//
8
9#ifndef SKYWAY_CORE_INTERFACE_REMOTE_MEDIA_STREAM_HPP_
10#define SKYWAY_CORE_INTERFACE_REMOTE_MEDIA_STREAM_HPP_
11
12#include <api/media_stream_interface.h>
13
14#include "skyway/core/interface/remote_stream.hpp"
15
16namespace skyway {
17namespace core {
18namespace interface {
19
22public:
23 virtual ~RemoteMediaStream() = default;
24
26 virtual rtc::scoped_refptr<webrtc::MediaStreamTrackInterface> GetTrack() const = 0;
27
28protected:
29 RemoteMediaStream(const std::string& id, model::ContentType content_type);
30};
31
32} // namespace interface
33} // namespace core
34} // namespace skyway
35
36#endif /* SKYWAY_CORE_INTERFACE_REMOTE_MEDIA_STREAM_HPP_ */
RemoteMemberで扱うMediaStream
Definition remote_media_stream.hpp:21
virtual rtc::scoped_refptr< webrtc::MediaStreamTrackInterface > GetTrack() const =0
Trackを取得します。
RemoteMemberで扱うStream
Definition remote_stream.hpp:19