Agora C++ API Reference for All Platforms
|
Public Types | |
using | onAudioPacketType = std::function< int(audio_packet_t &)> |
using | onVideoPacketType = std::function< int(video_packet_t &)> |
using | onVideoRtcpPacketType = std::function< int(video_rtcp_packet_t &)> |
using | onVideoReportPacketType = std::function< int(video_report_packet_t &)> |
using | onVideoCustomCtrlPacketType = std::function< int(video_custom_ctrl_broadcast_packet_t &)> |
using | onAudioFrameType = std::function< int(SAudioFrame &)> |
Public Member Functions | |
ReceivePacketHandler (onAudioPacketType &&onAudioPacket=nullptr, onVideoPacketType &&onVideoPacket=nullptr, onVideoRtcpPacketType &&onVideoRtcpPacket=nullptr, onVideoReportPacketType &&onVideoReportPacket=nullptr, onVideoCustomCtrlPacketType &&onVideoCustomCtrlPacket=nullptr, onAudioFrameType &&onAudioFrame=nullptr) | |
ReceivePacketHandler (ReceivePacketHandler &&rhs) | |
using agora::rtc::ReceivePacketHandler::onAudioPacketType = std::function<int(audio_packet_t&)> |
using agora::rtc::ReceivePacketHandler::onVideoPacketType = std::function<int(video_packet_t&)> |
using agora::rtc::ReceivePacketHandler::onVideoRtcpPacketType = std::function<int(video_rtcp_packet_t&)> |
using agora::rtc::ReceivePacketHandler::onVideoReportPacketType = std::function<int(video_report_packet_t&)> |
using agora::rtc::ReceivePacketHandler::onVideoCustomCtrlPacketType = std::function<int(video_custom_ctrl_broadcast_packet_t&)> |
using agora::rtc::ReceivePacketHandler::onAudioFrameType = std::function<int(SAudioFrame&)> |
|
inline |
|
inline |
onAudioPacketType agora::rtc::ReceivePacketHandler::onAudioPacket_ |
onVideoPacketType agora::rtc::ReceivePacketHandler::onVideoPacket_ |
onVideoRtcpPacketType agora::rtc::ReceivePacketHandler::onVideoRtcpPacket_ |
onVideoReportPacketType agora::rtc::ReceivePacketHandler::onVideoReportPacket_ |
onVideoCustomCtrlPacketType agora::rtc::ReceivePacketHandler::onVideoCustomCtrlPacket_ |
onAudioFrameType agora::rtc::ReceivePacketHandler::onAudioFrame_ |