Agora Java API Reference for Android
|
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) | |