SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
rtp_capturer_video_source.hpp
1#ifndef SKYWAY_MEDIA_RTP_INTERFACE_RTP_CAPTURER_VIDEO_SOURCE_HPP_
2#define SKYWAY_MEDIA_RTP_INTERFACE_RTP_CAPTURER_VIDEO_SOURCE_HPP_
3
4#include <api/video_codecs/video_encoder.h>
5
6#include "skyway/media/interface/capturer_video_source.hpp"
7
8namespace skyway {
9namespace media {
10namespace rtp {
11namespace interface {
12
65public:
71 virtual ~RtpCapturerVideoSource() = default;
72
85 virtual bool StartReceiving() = 0;
86
98 virtual bool StopReceiving() = 0;
99
101 virtual std::optional<uint16_t> GetFrameId() = 0;
102 virtual void RegisterCallback(webrtc::EncodedImageCallback* callback) = 0;
103 virtual std::string Endpoint() const = 0;
104 virtual void OnEncoderReleased(webrtc::EncodedImageCallback* callback) = 0;
105 virtual void SendKeyFrameRequest() = 0;
107};
108
109} // namespace interface
110} // namespace rtp
111} // namespace media
112} // namespace skyway
113
114#endif /* SKYWAY_MEDIA_RTP_INTERFACE_RTP_CAPTURER_VIDEO_SOURCE_HPP_ */
Definition capturer_video_source.hpp:15
RTPキャプチャビデオソース
Definition rtp_capturer_video_source.hpp:64
virtual bool StopReceiving()=0
UDPサーバを停止し、RTPパケットの受信を停止します。
virtual ~RtpCapturerVideoSource()=default
デストラクタ
virtual bool StartReceiving()=0
UDPサーバを起動し、RTPパケットの受信を開始します。
RTPキャプチャビデオソースのオプション
Definition rtp_capturer_video_source.hpp:14
std::string send_rtcp_ipv4
RTCPパケット送信先のIPv4アドレス
Definition rtp_capturer_video_source.hpp:43
int send_rtcp_port
RTCPパケット送信先のPort番号
Definition rtp_capturer_video_source.hpp:55
std::string recv_rtp_ipv4
RTPパケットを受け付けるUDPサーバのIPv4アドレス
Definition rtp_capturer_video_source.hpp:23
int recv_rtp_port
RTPパケットを受け付けるUDPサーバのPort番号
Definition rtp_capturer_video_source.hpp:32