chore: eslint

This commit is contained in:
Elysia
2025-03-10 12:33:39 +07:00
parent 00f2973e83
commit 0468d76610
3 changed files with 5 additions and 5 deletions

View File

@@ -142,10 +142,10 @@ class VoiceConnection extends EventEmitter {
/**
* Video codec
* * `VP8`
* * `VP9` (Not supported for encoding)
* * `VP9` (Not supported for encoding & decoding)
* * `H264`
* * `H265` (Not supported for encoding, worked for decoding)
* * `AV1` (Not supported for encoding)
* * `H265` (Not supported for encoding & decoding)
* * `AV1` (Not supported for encoding & decoding)
* @typedef {string} VideoCodec
*/

View File

@@ -246,7 +246,7 @@ class MediaPlayer extends EventEmitter {
return this.playAnnexBVideo(ffmpeg, options, streams, 'H264');
}
default: {
throw new Error('Invalid codec (Supported: VP8, H264, H265)');
throw new Error('Invalid codec (Supported: VP8, H264)');
}
}
}