mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 13:07:03 +03:00
does not work yet with iOS, only iTunes
This commit is contained in:
@@ -493,9 +493,10 @@ static bool handle_rtsp(raop_ctx_t *ctx, int sock)
|
||||
ctx->rtp = rtp.ctx;
|
||||
|
||||
if (cport * tport * rtp.cport * rtp.tport * rtp.aport && rtp.ctx) {
|
||||
char *transport;
|
||||
char *transport;
|
||||
asprintf(&transport, "RTP/AVP/UDP;unicast;mode=record;control_port=%u;timing_port=%u;server_port=%u", rtp.cport, rtp.tport, rtp.aport);
|
||||
LOG_DEBUG("[%p]: audio=(%hu:%hu), timing=(%hu:%hu), control=(%hu:%hu)", ctx, 0, rtp.aport, tport, rtp.tport, cport, rtp.cport);
|
||||
kd_add(resp, "Transport", transport);
|
||||
kd_add(resp, "Session", "DEADBEEF");
|
||||
free(transport);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user