I used
ZoomMtg.record({
record: true,
error: (error: any) => console.error("Zoom Record Error: ", error),
success: (data: any) => console.log("Success record", {data})
})
to start the meeting recording after the successful joining process.
But when I go to cloud recording I don’t find anything recorded,
My code:
ZoomMtg.init({
leaveUrl: zoomInfo.leaveUrl, // https://example.com/thanks-for-joining
success: (success: any) => {
ZoomMtg.join({
sdkKey: zoomInfo.sdkKey,
signature: zoomInfo.signature, // role in SDK signature needs to be 1
meetingNumber: zoomInfo.meetingNumber,
passWord: zoomInfo.passWord,
userName: zoomInfo.userName,
tk: '',
success: (success: any) => {
ZoomMtg.record({
record: true,
error: (error: any) => console.error("Zoom Record Error: ", error),
success: (data: any) => console.log("Success record", {data})
})
console.log(success)
},
error: (error: any) => {
console.log(error)
}
})
},
error: (error: any) => {
console.log(error)
}
})