Repository navigation
Add a minimal tvOS example app - #4
Open
kristofferR wants to merge 3 commits into
Open
kristofferR wants to merge 3 commits into
kristofferR wants to merge 3 commits into
Conversation
Lumen has no app to run on an Apple TV, so testing the remux engine there, including the APAC path, needed one. The example plays a URL from the launch environment with ProAVPlayer first and KSMEPlayer behind it, through the unchanged KSVideoPlayerView. Signing team and bundle identifier come from the command line, so the project carries neither.
xcodebuild matches a destination id against the hardware UDID, while devicectl lists a CoreDevice identifier on Xcode releases before 27. Build for any Apple TV and keep the identifier for the install alone.
The API key is part of the URL, so a plain HTTP request exposes it to the network.
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.
Hi! Lumen doesn't have an app that runs on an Apple TV, which makes the remux engine hard to try on real hardware. This adds a minimal tvOS example in
Examples/LumenPlayer, so anyone can install Lumen on their Apple TV and play a URL through it.KSVideoPlayerView, withProAVPlayerfirst andKSMEPlayerbehind it.LUMEN_START,LUMEN_TITLEandLUMEN_LOGare optional. Without a URL it shows a black screen and prints a hint to the console.build-and-install.shtakes the team and bundle identifier fromLUMEN_DEVELOPMENT_TEAMandLUMEN_BUNDLE_ID, and the project only carries acom.example.LumenPlayerplaceholder.Info.plist, DerivedData and logs.I built it for an Apple TV 4K (2nd generation) on tvOS 27.2 and used it to test #3 (TrueHD Atmos and DTS:X) on the device. It's independent of that PR and works with Lumen as it is today. The README mentions APAC because of that PR. If you'd rather keep it out until that one lands, I'm happy to drop that line.
Resumo em português: um app de exemplo mínimo para tvOS em
Examples/LumenPlayer, para instalar o Lumen num Apple TV e tocar uma URL pelo motor de remux. Não muda nada na interface do Lumen e não inclui assinatura.