juhovh / shairplay

Apple airplay and raop protocol server
Other
1.35k stars 228 forks source link

Connection Timeout #56

Open sirecontrol opened 8 years ago

sirecontrol commented 8 years ago

When listening to airplay from a IOS device, if that device abruptly disconnects from the network, then the session for the aiplay is maintained and never cleared down. This results in other devices not being able to airplay until the airplay service has been restarted to flush the sessions. Is it possible to add some kind of watchdog to maintain session state and flush any abruptly disconnected devices, is there somewhere in the code we could add a timeout?

juhovh commented 6 years ago

Good idea, should be on the todo list.