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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user