Unity Editor version: 2022.3.21f1
ML2 OS version: 1.5 (using OpenXR)
MLSDK version: 2.5.0
I'm working with the MLWebRTCExample script and the Python Bottle server, and the functionality seems to be in place. However, there's an issue: the local video output from the Magic Leap device is flipped horizontally.
When I tested the original example without modifications, everything worked perfectly. However, I'm tried streaming mixed reality (MR) content, and after adapting the UI (mostly shader changes to work with URP), without any major script changes, I noticed the flipped video issue.
I understand that I can address this by setting the scale of the local video renderer to -1
on the x axis, and adding some CSS to flip the video on the webpage but I would prefer a solution that ensures the video is outputted in the correct orientation from the start. Is there a way to achieve this directly, perhaps by modifying the configuration or handling the video stream differently?
Thank you in advance!