1#ifndef SKYWAY_MEDIA_RTP_INTERFACE_RTP_CAPTURER_VIDEO_SOURCE_REPOSITORY_HPP_
2#define SKYWAY_MEDIA_RTP_INTERFACE_RTP_CAPTURER_VIDEO_SOURCE_REPOSITORY_HPP_
7#include "skyway/media/rtp/interface/rtp_capturer_video_source.hpp"
15class RtpCapturerVideoSourceRepository {
17 virtual ~RtpCapturerVideoSourceRepository() =
default;
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;