Open alanscarpa opened 1 year ago
This has suddenly started happening to our app as well (iOS 17, iPhone 15 Pro, TwilioVideo 5.9.0). We aren't using anything like ARKit, just a CADisplayLink
and UIGraphicsGetImageFromCurrentImageContext()
. Wondering if there has been an underlying change in the pixel format of the UIView
snapshot...
Description
I've followed the ARKit example and my app is attempting to display remote AR video. It is successful - except for one issue: The remote video is appearing with a blue tint.
I've tried different pixel formats:
but the only other format that worked was
format32AGRA
and that actually made the blue tint an even darker blue.One difference is that I am using an
ARView
to get my snapshots rather than aARSCNView
because I am usingRealityKit
. I don't think this would cause the issue, but I figure I show how I'm getting my snapshot:Here's more code that is relevant:
Expected Behavior
I expect the remote video to not have a blue tint over it when it appears.
Actual Behavior
The video feed has a blue tint. Image of what it looks like:
Reproduces How Often
Every time.
Versions
All relevant version information for the issue.
Video iOS SDK
Twilio Video 5.0.0 via Swift Package Manager
Xcode
Xcode 14 and 13
iOS Version
iOS 15.6
iOS Device
iPhone XS and others.
Please let me know if there is any other info you'd like provided that might be helpful.