We tried to display host/client video in our application using the interface “MobileRTCVideoView”. But we are unable to achieve it
Below are the findings while using Zoom IOS SDK API’s,
The interface “MobileRTCVideoView::showAttendeeVideoWithUserID:()” is returning “FALSE”.
The interface MobileRTCMeetingService:: getUserVideoSize:()
is returning the client/host video size is “0” (both width and height).
And we have confirmed that user is sending Video by using the interface “MobileRTCMeetingService ::isUserVideoSending:()” This interface is returning “YES ”. So, the host/client is sending video but “MobileRTCVideoView” is unable to show video.
IOS SDK Version : 5.2.42037.1112
Hey @rssuresh192,
Thanks for using the dev forum!
showAttendeeVideo can return for a few different reasons:
The user ID is invalid
The View was not properly configured
This was called too early in the ViewController’s lifecycle
Would you mind sharing a simplified version of your ViewController so that I can help troubleshoot?
Thanks!
Michael
Hi Michael,
Thank you for quick response.
Now the interface “MobileRTCVideoView::showAttendeeVideoWithUserID:()” is returning true. But the video is not shown on the screen.
Still I am getting Host/Client video size is zero only.
MobileRTCMeetingService:: getUserVideoSize:()
is returning the client/host video size is “0” (both width and height).
Any suggestion?
Hey @rssuresh192,
Have you set the aspect mode for that view? I usually use “pan and scan”.
Thanks!
Michael