Hey @freelancer.nak
Sorry for the late reply.
Currently, we don’t support originalRatio:false
on the iOS platform due to performance concerns.
I will further explain the reason:
- Before Safari 16.4, we used a canvas as an intermediary to obtain video frame data. This allowed us to crop the video frames through the canvas. However, this approach had poor performance and often caused lag.
- Starting with Safari 16.4, we switched to using VideoFrame for video data cropping directly, which improved performance. However, if cropping is still required, we would have to revert to the canvas intermediary solution.
- After evaluation, we have decided not to support
originalRatio: false
natively on the iOS platform. For those who need this functionality, our upcoming version will introduce an interface for adding a customized video processor, allowing developers to implement their own cropping logic.
Thanks
Vic