Airtame 2 & AirServer support - #32
Open
3rd3 wants to merge 14 commits into
Open
Conversation
Added PTPInfo key handling and updated ReceiverInfo struct.
Add tests for audio security mode selection.
Add video scaling support based on MaxWidth and MaxHeight configuration.
Added a method to identify AirServer clones based on model and features.
Refactor audio security mode selection and session setup logic. Update handling of timing protocols and improve compatibility with AirServer clones.
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
Adds minimal compatibility support for Airtame 2/AirServer-style receivers advertising as
AppleTV5,3.SETUPordering.SETUPrequests./infodoes not advertise a display size and scales X11 capture accordingly.timingPortand responding to subsequent timing requests.CLOCK_BOOTTIMEfor the boot-relative timestamps expected by these receivers, with a portable fallback.ct=7audioFormat=0x1000000Open question: Device detection
Currently, the Airtame 2 is detected with the following function:
However, I doubt AirPlay clients make a distinction like this. More likely, they treats all AppleTV5,3 the same. However, because I lack access to this particular Apple TV model I decided to leave this in.
Not tested: AirServer
So far, I have not tested AirServer software as a playback target itself. It is known Airtame 2 uses the AirServer for Embedded Linux, but it is not available for download. One may be able to test it with the desktop versions.
Feel free to pull this PR entirely or just use as an inspiration.