Add some more argument validation

This commit is contained in:
David Payr
2024-12-29 02:21:54 +01:00
parent b7d8c526da
commit cc87dbfcf9
12 changed files with 340 additions and 39 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ export class InputVideoTrack extends InputTrack {
this._backing = backing;
}
getCodec() {
getCodec(): Promise<VideoCodec> {
return this._backing.getCodec();
}
@@ -118,7 +118,7 @@ export class InputAudioTrack extends InputTrack {
this._backing = backing;
}
getCodec() {
getCodec(): Promise<AudioCodec> {
return this._backing.getCodec();
}