Skip to main content

odin_room_send_datagram

enum OdinError odin_room_send_datagram(struct OdinRoom *room,
const uint8_t *bytes,
uint32_t bytes_length);

Overview

Sends an encoded voice packet to the server for the specified room.

Parameters

NameTypeDescription
roomstruct OdinRoom *The room handle.
bytesconst uint8_t *The encoded audio packet.
bytes_lengthuint32_tThe length of the packet.

Return Value

TypeDescription
OdinErrorODIN_ERROR_SUCCESS on success.