Description
The previewView
provided by MobileRTCMeetingService(VirtualBackground)
returns a blank (but not nil) UIView under certain circumstances (see reproduction steps) and this bug is 100% reproducible in our app. There are some additional issues that may be related to this problem.
Which iOS Client SDK version?
5.4.54802.0124
To Reproduce
- Start a meeting as host
- Call
startPreviewWithFrame
and then use thepreviewView
to show the preview video feed. The preview view will still be working at this point. - End the meeting
- Start the meeting again
- Call
startPreviewWithFrame
and then use thepreviewView
to show the preview video feed.
Result: The preview view will be a blank black view.
Additionally, there is some weird behavior surrounding the green screen setting. If the green screen virtual background is enabled at any time after ending the meeting in step 3, interfaces such as useBGImage
and enableGreenVB
begin returning the error MobileRTCMeetError_VBBase
. However, if the green screen virtual background setting is not enabled at any point during these steps, no errors are returned and the only problem is the blank preview view.
I’ve also seen an issue intermittently where the the green screen virtual background setting is enabled (I could tell by the behavior of the background) but isUsingGreenVB
returns false.
Device:
- Device: iPad Pro (11-inch) (2nd generation)
- OS: 14.4.1