Skip to content

Commit

Permalink
Fix the type of the Promise returned by VideoEncoder.isTypeSupported.
Browse files Browse the repository at this point in the history
This fixes #403.
  • Loading branch information
padenot committed Nov 16, 2021
1 parent d920a2c commit de5ec48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@
undefined reset();
undefined close();

static Promise<boolean> isConfigSupported(VideoEncoderConfig config);
static Promise<VideoEncoderSupport> isConfigSupported(VideoEncoderConfig config);
};

dictionary VideoEncoderInit {
Expand Down

0 comments on commit de5ec48

Please sign in to comment.