sendData abstract method
Sends a data packet to every other participant in the room.
reliable chooses the delivery guarantee: reliable is ordered and
retransmitted, lossy is neither. topic carries the Agora stream id so
the receiver can tell one data stream from another — the transport has
no notion of numbered streams.
Implementation
Future<void> sendData(
List<int> data, {
required bool reliable,
required String topic,
});