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