uneeq-js 3.23.3 → 3.23.4
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 +9 -0
- package/dist/113.index.js.map +1 -1
- package/dist/157.index.js.map +1 -1
- package/dist/3.index.js +1 -1
- package/dist/3.index.js.map +1 -1
- package/dist/363.index.js +1 -1
- package/dist/363.index.js.map +1 -1
- package/dist/464.index.js +2 -0
- package/dist/464.index.js.map +1 -0
- package/dist/48.index.js +1 -1
- package/dist/esm/index.js +24 -24
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/video-codec.d.ts +14 -0
- package/dist/lib/video-codec.spec.d.ts +1 -0
- package/dist/signaling.d.ts +2 -0
- package/dist/types/UneeqConfig.d.ts +6 -0
- package/package.json +1 -1
- package/dist/622.index.js +0 -2
- package/dist/622.index.js.map +0 -1
package/README.md
CHANGED
|
@@ -105,6 +105,15 @@ Wait for `SessionLive` before calling conversation APIs.
|
|
|
105
105
|
|
|
106
106
|
Logs are prefixed with `UneeQ: ` so they're easy to filter. Set verbosity with `logLevel` (`'debug' | 'info' | 'warn' | 'error'`, default `'info'`).
|
|
107
107
|
|
|
108
|
+
## Video codec
|
|
109
|
+
|
|
110
|
+
By default the SDK follows the renderer's codec offer, so a renderer that offers AV1 first streams AV1 to browsers that can decode it. Two cases pin H264 instead:
|
|
111
|
+
|
|
112
|
+
- Android Chromium browsers. Some Android hardware AV1 decoders report a wrong frame size on the first frames, which renders the digital human as a small image in one corner.
|
|
113
|
+
- Any browser whose decoder has reported an implausible frame size on an AV1 stream in the last seven days. The SDK stores that hint in `localStorage`.
|
|
114
|
+
|
|
115
|
+
Set `preferredVideoCodec: 'h264'` on `UneeqConfig` to pin H264 everywhere. The codec decision is logged at `info` level at session start, and an implausible frame size is logged at `warn` level with the codec, frame size and frame counters.
|
|
116
|
+
|
|
108
117
|
## Beta features
|
|
109
118
|
|
|
110
119
|
### `audioUpstreamMode`
|