SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
rtp_capturer_video_source_repository.hpp
1//
2// rtp_capturer_video_source_repository.hpp
3// skyway
4//
5// Created by Naoto Takahashi on 2025/06/30.
6// Copyright © 2025 NTT DOCOMO BUSINESS, Inc. All rights reserved.
7//
8#ifndef SKYWAY_MEDIA_RTP_INTERFACE_RTP_CAPTURER_VIDEO_SOURCE_REPOSITORY_HPP_
9#define SKYWAY_MEDIA_RTP_INTERFACE_RTP_CAPTURER_VIDEO_SOURCE_REPOSITORY_HPP_
10
11#include <memory>
12#include <vector>
13
14#include "skyway/media/rtp/interface/rtp_capturer_video_source.hpp"
15
16namespace skyway {
17namespace media {
18namespace rtp {
19namespace interface {
20
22class RtpCapturerVideoSourceRepository {
23public:
24 virtual ~RtpCapturerVideoSourceRepository() = default;
25
26 virtual std::optional<uint16_t> Register(
27 std::shared_ptr<RtpCapturerVideoSource> video_source) = 0;
28 virtual bool Unregister(std::shared_ptr<RtpCapturerVideoSource> video_source) = 0;
29 virtual std::shared_ptr<RtpCapturerVideoSource> Find(const int& frame_id) = 0;
30};
32
33} // namespace interface
34} // namespace rtp
35} // namespace media
36} // namespace skyway
37
38#endif /* SKYWAY_MEDIA_RTP_INTERFACE_RTP_CAPTURER_VIDEO_SOURCE_REPOSITORY_HPP_ */