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 {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.

Resolves when the server confirms the recording start request.

const options = {
roomName: 'Room101',
member: 'user123',
socket: io('http://localhost:3000')
};
startRecordsService.startRecords(options);

Constructors

Methods

Constructors

Methods