rtptime = uatoi(p + 1); // unsigned integer -- up to 2^32-1
}
}
- debug(1, "RTSP Flush Requested: %u.", rtptime);
+ debug(2, "RTSP Flush Requested: %u.", rtptime);
if (have_play_lock(conn)) {
#ifdef CONFIG_METADATA
if (p)
else
send_metadata('ssnc', 'flsr', NULL, 0, NULL, 0);
#endif
- // hack -- ignore it for airplay 2
+
+// hack -- ignore it for airplay 2
+#ifdef CONFIG_AIRPLAY_2
if (conn->airplay_type != ap_2)
+#endif
player_flush(rtptime, conn); // will not crash even it there is no player thread.
resp->respcode = 200;