8#ifndef SKYWAY_MEDIA_RTP_INTERFACE_RTP_CAPTURER_VIDEO_SOURCE_REPOSITORY_HPP_
9#define SKYWAY_MEDIA_RTP_INTERFACE_RTP_CAPTURER_VIDEO_SOURCE_REPOSITORY_HPP_
14#include "skyway/media/rtp/interface/rtp_capturer_video_source.hpp"
22class RtpCapturerVideoSourceRepository {
24 virtual ~RtpCapturerVideoSourceRepository() =
default;
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;