Overview
Recording and compositing are both done on the server; the client only sends commands and shows the status. Task types are distinguished byMcuTaskType:
You can also use
MeetingCreateReq.autoRecord when creating the meeting so that recording starts automatically once the meeting begins.
Build the layout and task parameters
LayoutData, McuStartReq, and the layout’s Watermark / Tag / Cell / DivList can all be constructed directly; optional parameters have default values:
Codable; the mapping between fields and JSON keys is in the tables below—if your layout configuration is JSON delivered by your backend, you can also decode it directly with JSONDecoder.
Layout fields
LayoutData:
Watermark:
Tag:
DivList and Cell:
For all
LayoutType enum values, see Types.
Start and stop tasks
McuStartReq fields:
Change the composite layout during the meeting
Query recording configuration and details
McuRecordDetail:
Recording state events
When the task state changes, all members in the meeting receive:RoomInfo.recordStatus, which suits initializing a “recording” badge when entering the meeting.