Service to initiate recording for a specified room.
StartRecords
Sends a request to the server to begin recording a room, using socket communication.
startRecords
Options required to start the recording:
roomName
member
socket
Resolves when the server confirms the recording start request.
const options = { roomName: 'Room101', member: 'user123', socket: io('http://localhost:3000')};startRecordsService.startRecords(options); Copy
const options = { roomName: 'Room101', member: 'user123', socket: io('http://localhost:3000')};startRecordsService.startRecords(options);
Starts recording the room.
The options for starting the recording.
A promise that resolves when the recording is started.
Service to initiate recording for a specified room.
Name
StartRecords
Description
Sends a request to the server to begin recording a room, using socket communication.
Method
startRecords
Param: options
Options required to start the recording:
roomName
{string}: The name of the room to record.member
{string}: The identifier of the member initiating the recording.socket
{Socket}: The socket instance for server communication.Returns
Resolves when the server confirms the recording start request.
Example