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