Video stream is more zoomed than I'd like and isn't the same as the local stream view. How can I fix this?

依然范特西╮ 提交于 2021-02-11 04:54:15

问题


Using the Agora.io Video SDK v2.2.1. Below is an image of what happens. The video stream is zoomed in and there is a "big head" rather than the entire image.


回答1:


Please add below code before join channel this should help -

setParameters:@"{\"che.video.keep_prerotation\":false}" setParameters:@"{\"che.video.local.camera_index\":1025}"

Refere the demo code : https://github.com/AgoraIO-Community/Agora-Video-With-FaceUnity-iOS/blob/d777df2aac725bce120f9e8c4d599d026d2c9d79/AgoraWithFaceunity/Controllers/RoomViewController.m#L110



来源:https://stackoverflow.com/questions/52377077/video-stream-is-more-zoomed-than-id-like-and-isnt-the-same-as-the-local-stream

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!