const client = TRTC.createClient({ mode: 'live', sdkAppId, userId, userSig }); client.join({ roomId: 8888, role: 'anchor' }).then(() => { // join room success }).catch(error => { console.error('Join room failed: ' + error); });
相似问题