Update media sources docs

This commit is contained in:
Vanilagy
2025-04-05 16:58:51 +02:00
parent 97e2a9c1ba
commit 3f8a907c7f
2 changed files with 21 additions and 9 deletions
+4 -4
View File
@@ -188,8 +188,8 @@ export type VideoEncodingConfig = {
*/
keyFrameInterval?: number;
/**
* The full codec string as specified in the WebCodecs API Codec Registry. When not specified, a fitting codec
* string will be constructed automatically by the library.
* The full codec string as specified in the WebCodecs API Codec Registry. This string must match the codec
* specified in `codec`. When not set, a fitting codec string will be constructed automatically by the library.
*/
fullCodecString?: string;
@@ -653,8 +653,8 @@ export type AudioEncodingConfig = {
*/
bitrate?: number | Quality;
/**
* The full codec string as specified in the WebCodecs API Codec Registry. When not specified, a fitting codec
* string will be constructed automatically by the library.
* The full codec string as specified in the WebCodecs API Codec Registry. This string must match the codec
* specified in `codec`. When not set, a fitting codec string will be constructed automatically by the library.
*/
fullCodecString?: string;