Media server rollout and recording quality
WEBRTC_SFU_CONFIG decides whether calls run peer-to-peer (P2P) or through the media server (SFU), and the recording quality of each side.
| Field | Default | What it does |
|---|---|---|
sfuAvailable |
Off | Off: every call is P2P, whatever else is set. |
p2pAvailable |
On | Off: every call goes through the media server. |
defaultRoomMode |
p2p | Mode for queues without their own setting on the queue page. |
recordBothLegs |
On | Start recording only when both sides are connected. |
doubleRecording |
Off | Media server calls also keep the agent client's recording, as a fallback. |
customer, agent, screen |
height -1, crf 21 | Per side: maximum height in pixels (-1 or 0 keeps the original) and compression (CRF 1–51, lower is better and larger). |
compositeCrf |
23 | Compression of the combined export video. |
Pilot
- Turn
sfuAvailableanddoubleRecordingon. LeavedefaultRoomModeon p2p. - Set the media server mode on a few queues on the queue page.
- Check that the recordings of those calls are processed completely, the customer side included, and match the agent client's recording.
- Add more queues, or change
defaultRoomMode. A new default moves every queue without its own setting from its next call. - Turn
doubleRecordingoff only when the media server's recordings have been complete for a sustained period. After that, media server calls keep only the media server's recordings.
Quality
- Leave the customer side at the default (original height, CRF 21). It is the recording kept as evidence.
- If files are too large, lower the agent side first (for example height 480, CRF 28), then the screen share. Lower the customer side last.
- Recording quality,
recordBothLegsandcompositeCrfare always read from the global value, also on multi-tenant installations.
No comments to display
No comments to display