SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
local_room_member.hpp
1#ifndef SKYWAY_ROOM_LOCAL_ROOM_MEMBER_HPP
2#define SKYWAY_ROOM_LOCAL_ROOM_MEMBER_HPP
3
4#include "skyway/room/abstract/local_room_member.hpp"
5
6namespace skyway {
7namespace room {
8
10public:
12 LocalRoomMember(std::shared_ptr<core::interface::LocalPerson> core,
13 std::shared_ptr<interface::Room> room,
14 interface::RoomDomainFactory* factory);
16
18 std::shared_ptr<interface::RoomPublication> Publish(
19 std::shared_ptr<media::stream::interface::local::LocalStream> stream,
21 std::shared_ptr<interface::RoomSubscription> Subscribe(
22 const std::string& publication_id,
24 bool Unpublish(const std::string& publication_id) override;
25 bool Unsubscribe(const std::string& subscription_id) override;
26 std::vector<std::shared_ptr<interface::RoomPublication>> Publications() override;
27
28private:
29 std::shared_ptr<core::interface::LocalPerson> LocalPerson();
30};
31
32} // namespace room
33} // namespace skyway
34
35#endif /* SKYWAY_ROOM_LOCAL_ROOM_MEMBER_HPP */
Definition local_room_member.hpp:9
bool Unpublish(const std::string &publication_id) override
公開しているPublicationを非公開にします。
std::vector< std::shared_ptr< interface::RoomPublication > > Publications() override
このMemberのPublication一覧を取得します。
bool Unsubscribe(const std::string &subscription_id) override
購読しているSubscriptionの購読を解除します。
std::shared_ptr< interface::RoomSubscription > Subscribe(const std::string &publication_id, interface::LocalRoomMember::SubscriptionOptions options) override
公開されているPublicationを購読します。
std::shared_ptr< interface::RoomPublication > Publish(std::shared_ptr< media::stream::interface::local::LocalStream > stream, interface::LocalRoomMember::PublicationOptions options) override
LocalStreamを公開します。
LocalRoomMemberの操作を行う抽象クラス
Definition local_room_member.hpp:17
Publish時の設定
Definition local_room_member.hpp:42
Subscribe時の設定
Definition local_room_member.hpp:61