Skip to content

How to solve "please call init first !!" ? #15

Closed Answered by D0nVitalio
D0nVitalio asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry)
missed https://www.zegocloud.com/docs/uikit/callkit-web/authentication-and-kit-token

let roomID = '123';

    const kitToken = ZegoUIKitPrebuilt.generateKitTokenForProduction(
        12123123,
        '{{base64_decode(request()->input('zego_token'))}}',
        roomID,
        {{auth()->user()->id}},
        'userName'
    );

    const zp = ZegoUIKitPrebuilt.create(kitToken);
....

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by D0nVitalio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant