logo
On this page

Set a direct join session

Introduction

In ZEGOCLOUD UIKits, a prejoin view is used for detecting the device's usability and setting page interactions to bypass the limitations of the autoplay policy.

While you can set a direct join session by hiding the prejoin view (the view below) if you've checked the device usability and made page interactions before initializing the UIKit.

How do I set a direct join session?

To skip the prejoin view to join a session directly, set the showPreJoinView to false.

Untitled
// ....
zp.joinRoom({
     // ...,
     showPreJoinView: false;
     // ...
});
1
Copied!