Hi!
I use ZoomSDKNormalVideoElement
instants to display participants.
This class has some properties and methods but the most interesting for me are setResolution(:_)
and subscribeVideo(:_)
From ZoomSDKVideoContainer.h
file:
setResolution(:_)
- Config the video view resolution
subscribeVideo(:_)
- Set whether to display user’s video.
But for example, there is showVideo(:_)
method with the next description: Set whether to show video.
Question 1: What is the difference between subscribeVideo(:_)
and showVideo(:_)
?
setResolution(:_)
method returns ZoomSDKError
as a lot of Zoom’s method.
Empirically It has been figured out that setResolution(:_)
could return Failed in the case when we try to set the value that is already set (for example video element has resolution 360p and we try to set it again). And when we try to set the value that could broke Zoom Rules. For example, there are two video elements with a resolution that is equal to 720p. And I try to create a third one and set the same resolution to it.
Question 2: Is it right? Are there some more limitations to this method?
Сontinuing to the previous description: we have noticed, the third video element that is received ‘Failed’ status after 720p setting, can’t change the quality until we call subscribeVideo(:_)
.
Question 3: Do I need subscribeVideo(true)
method if my setResolution(:_)
method has been returned Failed status?
Question 4: What does it mean for the video element if we subscribe/unsubscribe to/from it?
Question 5: What the blinking mean when we call setResolution(true)
method?
Thank you for your help. There is a lot of specific questions, but it’s necessary to understand the full picture of the SDK to use its full potential.