adjustRenderedVideoPosition method giving: userId is not correct

Hey @tommy ,
adjustRenderedVideoPosition method is throwing {type: ‘INVALID_PARAMETERS’, reason: ‘userId is not correct’} sometimes while that user is there in client.getAllUser().

Can you please tell what causing this error and how can we prevent this error from getting thrown?

Hey @shoaib ,

Did that user have their video turned on?


1 Like

Oh okay, then that must be the reason, I think adding a check for user.bVideoOn before calling adjustRenderedVideoPosition method should do the work.
Thanks @tommy

1 Like

Happy to help @shoaib ! :slight_smile:


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.