Video SDK v3.7.1 API Reference for Unity
Public Attributes | List of all members
agora_gaming_rtc.Packet Struct Reference

Public Attributes

IntPtr buffer
IntPtr size

Detailed Description

Definition of Packet.

Member Data Documentation

◆ buffer

IntPtr agora_gaming_rtc.Packet.buffer

Buffer address of the sent or received data.

Agora recommends that the value of buffer is more than 2048 bytes, otherwise, you may meet undefined behaviors such as a crash.

◆ size

IntPtr agora_gaming_rtc.Packet.size

Buffer size of the sent or received data.

The documentation for this struct was generated from the following file: