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

[FIX] Remove AVMutableVideoComposition as it was causing black screen… #1115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marioloko
Copy link

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.

… on simulator.

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.
@utpal-barman
Copy link

@marioloko great finding, this PR should be approved @jhomlala
it's been a long time ios simulator is showing a black screen

@SurajLad
Copy link

@jhomlala can you please check, we need this fix in plugin.
@marioloko great work and thanks for fix 👍

@user-23xyz
Copy link

@jhomlala ma buddy how is it going we need yo help

@Projecthubdev
Copy link

Wow lol great fix let me try to check

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

Successfully merging this pull request may close these issues.

[BUG] Player shows a black screen while playing video on IOS
5 participants