Skip to content

Support retransmission of lost packets when streaming #1079

@postlund

Description

@postlund

Short feature/function description
An AirPlay receiver can request old packets to be retransmitted in case they are missing. According to here, 1000 packets shall be buffered. FIFO is assumed. Retransmission requests are made on the control channel.

What needs to be done?

  • Create a FIFO (ring buffer) for all packets and attach sequence number
  • Handle retransmission requests on the control channel

Is this a breaking change?
No

Anything else worth knowing?
Assuming two channels, sample size of 16bit and 352 frames per packet, this will consume a bit of memory: 2 * 2 * 352 * 1000=1,4MB

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions