betterplayer
betterplayer copied to clipboard
[FIX] Remove AVMutableVideoComposition as it was causing black screen…
Remove AVMutableVideoComposition as it was causing black screen iOS on simulator.
Closes #1029. This commit has been tested by several people in the thread.
The main objective of AVMutableVideoComposition was to prevent black screen on physical devices by correcting the tranform of the video track, probably it is not required anymore as we are using UIView with AVPlayerLayer instead of textures. This commit removes the change of video track transform for both physical device and iOS simulator, taking the assumption that the change of transform was only required by AVPlayerItemOutput.
@marioloko great finding, this PR should be approved @jhomlala it's been a long time ios simulator is showing a black screen
@jhomlala can you please check, we need this fix in plugin. @marioloko great work and thanks for fix 👍
@jhomlala ma buddy how is it going we need yo help
Wow lol great fix let me try to check