Add native Chromecast support without relying on LibVLC#869
Draft
huynhsontung wants to merge 3 commits into
Draft
Add native Chromecast support without relying on LibVLC#869huynhsontung wants to merge 3 commits into
huynhsontung wants to merge 3 commits into
Conversation
- Implement CastChannelMessage for handling Cast v2 messages. - Create CastMessageFraming for framing messages with a length prefix. - Define CastNamespaces for standard Cast protocol namespaces. - Develop ChromecastTlsChannel for establishing secure connections to Chromecast devices. - Introduce ICastCompatibilityAnalyzer interface for media compatibility analysis. - Add ICastDeviceDiscovery interface for discovering cast-capable devices. - Implement ICastSession interface for managing cast sessions. - Create ManualCastDeviceDiscovery for in-memory device discovery. - Define CastCompatibility and CastCompatibilityResult for compatibility evaluation. - Implement CastDevice and CastMediaSource models for device and media representation. - Add CastProtocol and CastSessionState enums for protocol and session management. - Create LocalMediaServer for serving local media files to Chromecast. - Update project files and dependencies for new features.
- Added ChromecastMdnsDiscovery for device discovery using mDNS. - Enhanced ChromecastSession with heartbeat and command handling. - Updated LocalMediaServer to resolve LAN address and infer MIME types. - Refactored RendererWatcher to integrate with new discovery mechanism. - Updated CastService to manage Chromecast sessions and media loading. - Added Zeroconf package for mDNS support. Co-authored-by: Copilot <copilot@github.com>
… management Co-authored-by: Copilot <copilot@github.com>
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.
Implement Chromecast support by adding core protocol features, device discovery, and session management capabilities. Enhance casting functionality with asynchronous operations and compatibility analysis for media playback. Update project dependencies to support new features.