Replace DNS-SD dependency with built-in mDNS responder, and Add multi-platform CI build verification#523
Open
kgbook wants to merge 5 commits into
Open
Replace DNS-SD dependency with built-in mDNS responder, and Add multi-platform CI build verification#523kgbook wants to merge 5 commits into
kgbook wants to merge 5 commits into
Conversation
- Linux (ubuntu-latest): CMake + GStreamer + OpenSSL + libplist + DBus - macOS (macos-latest): Homebrew dependencies - Windows (windows-latest): MSYS2 + MinGW toolchain Triggered on push and PR to master/main branches
GitHub Actions ubuntu-latest requires sudo for package installation
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.
Summary
The previous implementation depended on
avahi-daemonfor DNS-SD/mDNS service discovery and advertisement. While this works well on typical Linux desktop/server environments,avahi-daemonis relatively heavy for embedded targets and introduces extra runtime dependencies, daemon management, and deployment complexity.This is especially problematic for cross-platform support, particularly on Android, where running and managing an external Avahi daemon is not practical and may conflict with the platform’s permission and service model.
This PR rewrites the mDNS responder internally, removing the dependency on Avahi/DNS-SD while keeping the required service discovery and advertisement behavior.
Triggered on push and PR to master/main branches.
Motivation
avahi-daemonChanges
Validation
The rewritten mDNS responder has been tested and verified successfully, including service discovery and response behavior.