How can I convert the value from getResolution to a video resolution?
Code:
let statistics = ZoomSDK.shared()?.getSettingService()?.getStatisticsSetting()
let video = statistics?.getVideoASStatisticsInfo(true)
let videoResolution = video?.getResolution(false)
let share = statistics?.getVideoASStatisticsInfo(false)
let shareResolution = video?.getResolution(false)
When I use this code I get: videoResolution == 230400, shareResolution == 3686400.
What does this values mean? and how can I convert it?
Based on the numbers being returned, this could be the bitrate of the video stream being transmitted for video and share resolutions. If you are looking for the detailed video resolution (e.g. 1920x1080), we will need to investigate if it is possible to retrieve this through the SDK.
Yes, we need to know a content size of the media in the container (video and sharing) as I mention before.
But now it is more priority to know the size of each video that containers (ZoomSDKNormalVideoElement, ZoomSDKShareElement, etc) displays.