5#ifndef SKYWAY_MEDIA_RTP_INTERFACE_RTP_CAPTURER_VIDEO_SOURCE_REPOSITORY_HPP_
6#define SKYWAY_MEDIA_RTP_INTERFACE_RTP_CAPTURER_VIDEO_SOURCE_REPOSITORY_HPP_
11#include "skyway/media/rtp/interface/rtp_capturer_video_source.hpp"
19class RtpCapturerVideoSourceRepository {
21 virtual ~RtpCapturerVideoSourceRepository() =
default;
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;