feat(android): implement connection watchdog, optimize autoconnect, and refine socket ping interval#110
Draft
Mudit200408 wants to merge 1 commit into
Draft
feat(android): implement connection watchdog, optimize autoconnect, and refine socket ping interval#110Mudit200408 wants to merge 1 commit into
Mudit200408 wants to merge 1 commit into
Conversation
…nd refine socket ping interval - Enable OkHttp pingInterval (10 seconds) on the client WebSocket to automatically detect half-open sockets and lost connections faster. - Introduce a connection watchdog in WebSocketUtil to monitor connection health and coordinate with the macOS server's reconnect grace timer. - Refactor AirSyncService and WakeupHandler to improve auto-start and connection reliability after reboot. - Enable directBootAware for MediaNotificationListener and AirSyncService. - Optimize network state validation and simplify network state tracking by cleaning up dead code. - Send manual disconnect signals over BLE before terminating connection to prevent ghost sessions on Mac.
Mudit200408
pushed a commit
to Mudit200408/airsync-android
that referenced
this pull request
May 23, 2026
New Crowdin updates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Basically improves the auto connect...
You can now swiflty connect both android and mac via Hotspot
The UI changes instantly when detected that the network has changes instead of misleading the users
Restart the Android device and within 30secs both android and mac will automatically connect without ever opening the app in android or mac