raop: Packet retransmission support for UDP

This patch adds an RTP audio packet retransmission support and a
circular buffer implementation for it.

This patch was originally written by Matthias Wabersich [1] and
later debugged and integrated into the latest tree by Hajime Fujita

[1]: https://bugs.freedesktop.org/show_bug.cgi?id=42804#c44
This commit is contained in:
Matthias Wabersich 2016-11-06 12:54:00 -06:00 committed by Tanu Kaskinen
parent 402bb7ce48
commit 29385da239
5 changed files with 316 additions and 12 deletions

View file

@ -25,6 +25,8 @@
#include <pulsecore/core.h>
#include <pulsecore/memchunk.h>
#define UDP_FRAMES_PER_PACKET 352
typedef enum pa_raop_protocol {
RAOP_TCP,
RAOP_UDP,