Agora RTC Objective-C API Reference
Refactor
|
Public Member Functions | |
virtual bool | onMediaPacketReceived (const uint8_t *packet, size_t length, const agora::media::base::PacketOptions &options)=0 |
The IMediaPacketReceiver class. You can register a receiver in remote audio or video tracks to trigger callbacks when RTP/UDP packets are received.
|
inlinevirtual |
|
pure virtual |
Occurs when the track receives a media packet.
packet | The pointer to the media packet. |
length | The length of the packet. |
options | The packet info. |