Expose more Utility Functions from MediaTransformer
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 663
- Forks
- 92
- PR merge metrics
- No merged PRs in 30d
Description
MediaTransformer does a really nice job of being very simple to use when you're first getting started.
Once you want advanced functionality however, you are faced with creating your own MediaTarget, MediaFormat, TrackTransforms etc.
There's a lot of nice logic in LiTr that has been written to do exactly that, but a lot of it is private, even if it doesn't have any side effects. When building my own more custom transformer, I found myself copying logic from MediaTransformer (createTargetMediaFormat, isAudioIncompatible, ...) constantly.
I think there is a big opportunity to make LiTr more approachable by exposing more of the Utility that is hidden away inside. Dealing with MediaFormats is both a daunting task for beginners, but also very essential in a lot of cases, so I assume a lot of users would benefit from improving the usability in that regard :)
A first step would be opening up some of the functions that are already there, but on top of that, more utility functions could still be written
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with MediaTransformer and inspect the existing createTargetMediaFormat and isAudioIncompatible utilities, including their visibility and current callers. Clarify which functions should become public and whether additional utilities are needed; done means the agreed utility API is exposed without requiring users to copy internal logic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- audio-video-rtc, mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100