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