SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
plugin.hpp
1//
2// plugin.hpp
3// skyway
4//
5// Created by sandabu on 2021/12/21.
6// Copyright © 2021 NTT Communications. All rights reserved.
7//
8
9#ifndef SKYWAY_PLUGIN_REMOTE_PERSON_PLUGIN_PLUGIN_HPP_
10#define SKYWAY_PLUGIN_REMOTE_PERSON_PLUGIN_PLUGIN_HPP_
11
12#include <api/peer_connection_interface.h>
13
14#include "skyway/core/interface/channel.hpp"
15#include "skyway/core/interface/remote_member_plugin.hpp"
16
17namespace skyway {
18namespace plugin {
19namespace remote_person {
20
21using PluginInterface = core::interface::RemoteMemberPlugin;
22
24class Plugin : public PluginInterface {
25public:
26 Plugin(rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> peer_connection_factory);
27 std::string GetSubtype() const override;
29 std::shared_ptr<core::interface::RemoteMember> Create(std::shared_ptr<core::interface::Channel> channel,
30 const model::Member& member_dto) const override;
32
33private:
34 rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> peer_connection_factory_;
35};
36
37} // namespace remote_person
38} // namespace plugin
39} // namespace skyway
40
41#endif /* SKYWAY_PLUGIN_REMOTE_PERSON_PLUGIN_PLUGIN_HPP_ */
Definition remote_member_plugin.hpp:20
RemotePersonのPlugin
Definition plugin.hpp:24
std::string GetSubtype() const override
Pluginのサブタイプ
メンバー情報
Definition domain.hpp:54