mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-30 04:13:51 +02:00
Add some more argument validation
This commit is contained in:
+2
-2
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user