videomail-client 16.1.1 → 16.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -75,11 +75,9 @@ The defaults suit most integrations. Set `whitelistKey` when deploying on your o
75
75
 
76
76
  The examples in [src/stories](https://github.com/binarykitchen/videomail-client/tree/master/src/stories) show common configurations.
77
77
 
78
- ### Audio
78
+ ## Audio
79
79
 
80
- Audio recording is experimental and disabled by default. Set `audio.enabled` to `true` to enable it.
81
-
82
- `audio.volume` controls recording gain from `0` (silence) to `1` (unchanged microphone level, the default). It does not control playback volume or enable audible microphone monitoring.
80
+ See [docs/AUDIO.md](docs/AUDIO.md) for details on audio recording options and requirements.
83
81
 
84
82
  ## API
85
83
 
@@ -201,7 +199,7 @@ Returns the videomail thread containing the given key.
201
199
 
202
200
  ### videomailClient.unload()
203
201
 
204
- Manually unloads the webcam and all other internal event listeners.
202
+ Manually unloads the webcam, closes the active WebSocket connection, and removes all internal event listeners.
205
203
 
206
204
  ### videomailClient.hide()
207
205
 
@@ -292,7 +290,7 @@ For a deployed domain, request access at [videomail.io/whitelist](https://videom
292
290
 
293
291
  ## Browser compatibility
294
292
 
295
- Recording requires a secure context (`https://` or localhost) and support for `navigator.mediaDevices.getUserMedia()`, WebSocket, Canvas, and Web Audio when audio is enabled. Current evergreen desktop and mobile browsers are supported. Internet Explorer is not supported.
293
+ Recording requires a secure context (`https://` or localhost) and support for `navigator.mediaDevices.getUserMedia()`, WebSocket, Canvas, and AudioWorklet when audio is enabled. Current evergreen desktop and mobile browsers are supported. Internet Explorer is not supported.
296
294
 
297
295
  See [Can I Use: Media Capture from DOM Elements](https://caniuse.com/stream) and test the [live demo](#live-demo) in the browsers required by your integration.
298
296