Color issue on the subscribing side

I use Zoom Video SDK 2.2.0 on apps running iOS 18.x.

ZoomVideoSDKVideoSource is used to send pure white video frames (converting BGRA(255, 255, 255, 255) → I420 (0xEB, 0x80, 0x80)) and use ZoomVideoSDKVideoSender to transfer the video frames.

On the receiving side, ZoomVideoSDKRawDataPipeDelegate is used to inspect the received the video frames. The color is I420(0xD9, 0x80, 0x80). I would expect subscribing side get a color (Y) close to 0xEB.

Is this an expected behavior? Is there a way to receive a value close to 0xEB?

        [self.rawDataSender sendVideoFrame:(char*)frameBytes.bytes
                                     width:frameWidth
                                    height:frameHeight
                                dataLength:frameBytes.length
                                  rotation:rotation
                                    format:ZoomVideoSDKFrameDataFormat_I420_Limit];

Set the format to ZoomVideoSDKFrameDataFormat_I420_Limit doesn’t work. Zoom Video SDK still encode the video using full range, since of the video range.

My workaround is to convert a frame from video range to full range before sending it to rawDataSender