Skip to content

Commit

Permalink
Mime types in webcam options type (#3593)
Browse files Browse the repository at this point in the history
preferredVideoMimeType and preferredVideoMimeType in WebcamOptions interface
  • Loading branch information
SlavikTraktor committed Mar 23, 2022
1 parent 0059574 commit d437a54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/@uppy/webcam/types/index.d.ts
Expand Up @@ -19,6 +19,8 @@ export interface WebcamOptions extends PluginOptions {
title?: string
videoConstraints?: MediaTrackConstraints
showRecordingLength?: boolean
preferredImageMimeType?: string
preferredVideoMimeType?: string
}

declare class Webcam extends UIPlugin<WebcamOptions> {}
Expand Down

0 comments on commit d437a54

Please sign in to comment.