Starts recording for a specified room.
const options = { roomName: "RoomA", member: "AdminUser", socket: socketInstance,};startRecords(options) .then(() => console.log("Recording started successfully")) .catch((error) => console.error("Failed to start recording", error)); Copy
const options = { roomName: "RoomA", member: "AdminUser", socket: socketInstance,};startRecords(options) .then(() => console.log("Recording started successfully")) .catch((error) => console.error("Failed to start recording", error));
Configuration options to start the recording.
A promise that resolves when the attempt to start recording completes.
Starts recording for a specified room.
Example