mbox series

[BlueZ,0/1] client/player: Fix transport.send command's transfer of packets

Message ID 20240325144031.335354-1-vlad.pruteanu@nxp.com
Headers show
Series client/player: Fix transport.send command's transfer of packets | expand

Message

Vlad Pruteanu March 25, 2024, 2:40 p.m. UTC
The transport.send command sends a number num of packets at intervals
specified by the transport latency reported by the CIS Establsihed event.
Num is defined as qos.ucast.out.latency * 1000 / qos.ucast.out.interval.
Since this latency could be smaller than the SDU interval for some presets,
the resulting num would be 0, causing the file transfer to stop after the
first packet. Instead, one packet should be sent at SDU interval distance
apart.

Vlad Pruteanu (1):
  client/player: Fix transport.send command's transfer of packets

 client/player.c | 34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)