Move clock setup and start from Setup Phase 1 to Setup Phase 2. clear_all_conns now clears every type of connection, not just airplay. Clean up, rename and remove some old stuff and quieten yet more debug messages.

This commit is contained in:
Mike Brady
2025-12-05 12:10:15 +00:00
parent b82ae79852
commit a755a26e92
5 changed files with 48 additions and 166 deletions
+3
View File
@@ -5241,9 +5241,12 @@ int player_stop(rtsp_conn_info *conn) {
pthread_cleanup_pop(1); // release the player_create_delete_mutex
if (response == 0) { // if the thread was just stopped and deleted...
conn->is_playing = 0;
/*
// this is done in the player cleanup handler
#ifdef CONFIG_AIRPLAY_2
ptp_send_control_message_string("E"); // signify play is "E"nding
#endif
*/
#ifdef CONFIG_METADATA
send_ssnc_metadata('pend', NULL, 0, 1); // contains cancellation points
#endif