Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The mirrored data cannot be decoded by the Android MediaCodac, what is the problem? It is urgent, please reply as soon as possible. #6

Open
g-wellsa opened this issue Oct 20, 2024 · 1 comment

Comments

@g-wellsa
Copy link

g-wellsa commented Oct 20, 2024

The mirrored data cannot be decoded by the Android MediaCodac, what is the problem? It is urgent, please reply as soon as possible.

@fduncanh
Copy link

fduncanh commented Dec 28, 2024

Not sure what your issue is. Use the branch "playfair" for fairplay support.

The code here in that branch is just the clean upstream apsdk-public with the missing fairplay support included (put back): it seems the apsdk-developer was also probably using "playfair" (but does not provide details), as it is the only publicly-available implementation of (some of) fairplay, but has a murky provenance. We got apsdk-working with this plus a video/audio renderer (you need to supply the "on-video" part, etc, in "demo".)

The pre-release apsdk-public code base used to include an implementation of on-video-play etc based on esplayer.
We restored it, then replaced it with GStreamer's "playbin".

https://github.com/FDH2/apsdk-public/blob/older/demo/aps-demo.cpp

The branch "older" here was our working branch with lots of "printf" statements added to see how the HLS support was being implemented.

  • we ran apsdk-public to help us understand the AirPlay protocol for playing HLS video streaming. This was helpful in getting HLS working in UxPlay https://github.com/FDH2/UxPlay, but no code was taken from apsdk-public.

*UxPlay has a code base derived from a completely independent C-based implementation of Airplay, starting from iTunes, and then having mirror video added, through a series of previous authors (GPL/LGPL): https://github.com/FDH2/UxPlay#uxplay-authors

  • apsdk-public (also GPL) is an impressive C++ implementation of AirPlay apparently from scratch by a single author Sheen Tian in Singapore, with no code history shared with the UxPlay code base, and could certainly be the basis of (a backend for) a cleaner implementation than UxPlay http://github.com/FDH2/UxPlay, but will need a substantial amount of work to give it a "front end" for control and displaying video. Anyone doing this could use UxPlay GPL code for guidance about features such as h265 video not implemented in apsdk-public.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants