1#ifndef SKYWAY_MEDIA_STREAM_ABSTRACT_STREAM_BASE_HPP_
2#define SKYWAY_MEDIA_STREAM_ABSTRACT_STREAM_BASE_HPP_
7#include "skyway/domain/core_convert_helper.hpp"
14template <
typename InterfaceT,
typename CoreInterfaceT,
typename CoreT>
18 std::string
Id()
override {
return core_->Id(); }
22 return domain::core_convert_helper::ConvertToPlatformSide(core_->Side());
27 return domain::core_convert_helper::ConvertToPlatformContentType(core_->ContentType());
31 std::shared_ptr<CoreInterfaceT> GetCore()
override {
return core_; }
36 explicit StreamBase(std::shared_ptr<CoreT> core) : core_(core) {}
37 std::shared_ptr<CoreT> core_;
ContentType
コンテンツの種類
Definition domain.hpp:22
Side
Streamの所在(LocalかRemoteか)
Definition domain.hpp:13