Multi-source audio: recording test
- Serve this folder over localhost or HTTPS. For example, run
npx http-server . -a 127.0.0.1 -p 8080from this folder and openhttp://127.0.0.1:8080/multi-source-recording-test.html. - Set the hospital, patient, doctors, and source list. Generate new consultation IDs once, then copy the shared configuration to each participant's page. Enter the API key separately on each page.
- Select a different participant on each device or tab. Connect, wait for acceptance, and start recording. Separate devices or microphones avoid recording the same room audio multiple times.
- Stop every recording, wait for each source to show uploaded or disabled, then complete from one doctor page. Keep the connections open for the final result.
Shared consultation
Microphone waveformReady to record
Shows this page's microphone while recording. Speak to see the waveform move.
Disconnected
0 chunks acknowledged · 0 bytes received
The API key is sent in init, never included in shared configuration, and never saved to browser storage. Only the primary doctor sends primary_practitioner_id. A stopped source cannot restart recording in this session.
Session sources
| Source | Role | Status | Bytes |
|---|
Disable a declared source only when it will not contribute more audio. Connected sources automatically flush their recorder when source.stop_requested arrives.
Processed result
Waiting for session.processed.