SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
rtp_capturer_video_source.hpp
1//
2// rtp_capturer_video_source.hpp
3// skyway
4//
5// Created by Naoto Takahashi on 2025/06/30.
6// Copyright © 2025 NTT DOCOMO BUSINESS, Inc. All rights reserved.
7//
8
9#ifndef SKYWAY_MEDIA_RTP_INTERFACE_RTP_CAPTURER_VIDEO_SOURCE_HPP_
10#define SKYWAY_MEDIA_RTP_INTERFACE_RTP_CAPTURER_VIDEO_SOURCE_HPP_
11
12#include <api/video_codecs/video_encoder.h>
13
14#include "skyway/media/interface/capturer_video_source.hpp"
15
16namespace skyway {
17namespace media {
18namespace rtp {
19namespace interface {
20
76public:
82 virtual ~RtpCapturerVideoSource() = default;
83
93 virtual bool StartReceiving() = 0;
94
106 virtual bool StopReceiving() = 0;
107
109 virtual std::optional<uint8_t> GetFrameId() = 0;
110 virtual void RegisterCallback(webrtc::EncodedImageCallback* callback) = 0;
111 virtual std::string Endpoint() const = 0;
112 virtual void OnEncoderReleased(webrtc::EncodedImageCallback* callback) = 0;
113 virtual void SendKeyFrameRequest() = 0;
115};
116
117} // namespace interface
118} // namespace rtp
119} // namespace media
120} // namespace skyway
121
122#endif /* SKYWAY_MEDIA_RTP_INTERFACE_RTP_CAPTURER_VIDEO_SOURCE_HPP_ */
Definition capturer_video_source.hpp:23
RTPキャプチャビデオソース
Definition rtp_capturer_video_source.hpp:75
virtual bool StopReceiving()=0
UDPサーバを停止し、RTPパケットの受信を停止します。
virtual ~RtpCapturerVideoSource()=default
デストラクタ
virtual bool StartReceiving()=0
UDPサーバを起動し、RTPパケットの受信を開始します。
RTPキャプチャビデオソースのオプション
Definition rtp_capturer_video_source.hpp:23
std::string send_rtcp_ipv4
RTCPパケット送信先のIPv4アドレス
Definition rtp_capturer_video_source.hpp:52
int send_rtcp_port
RTCPパケット送信先のPort番号
Definition rtp_capturer_video_source.hpp:64
std::string recv_rtp_ipv4
RTPパケットを受け付けるUDPサーバのIPv4アドレス
Definition rtp_capturer_video_source.hpp:32
int recv_rtp_port
RTPパケットを受け付けるUDPサーバのPort番号
Definition rtp_capturer_video_source.hpp:41