Socket
Socket
Sign inDemoInstall

@api.video/media-recorder

Package Overview
Dependencies
2
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.9 to 1.0.10

3

CHANGELOG.md
# Changelog
All changes to this project will be documented in this file.
## [1.0.10] - 2023-02-07
- Make `getSupportedMimeTypes` static
## [1.0.9] - 2023-02-07

@@ -5,0 +8,0 @@ - Add `mimeType` and `generateFileOnStop` options

2

dist/src/index.d.ts

@@ -30,3 +30,3 @@ import { ProgressiveUploaderOptionsWithAccessToken, ProgressiveUploaderOptionsWithUploadToken, VideoUploadResponse } from "@api.video/video-uploader";

pause(): void;
getSupportedMimeTypes(): string[];
static getSupportedMimeTypes(): string[];
}
{
"name": "@api.video/media-recorder",
"version": "1.0.9",
"version": "1.0.10",
"description": "api.video media recorder - upload video from your webcam with ease",

@@ -5,0 +5,0 @@ "repository": {

@@ -39,3 +39,3 @@ import { ProgressiveUploader, ProgressiveUploaderOptionsWithAccessToken, ProgressiveUploaderOptionsWithUploadToken, VideoUploadResponse } from "@api.video/video-uploader";

const findBestMimeType = () => {
const supportedTypes = this.getSupportedMimeTypes();
const supportedTypes = ApiVideoMediaRecorder.getSupportedMimeTypes();
if (supportedTypes.length === 0) {

@@ -136,3 +136,3 @@ throw new Error("No compatible supported video mime type");

public getSupportedMimeTypes() {
public static getSupportedMimeTypes() {
const VIDEO_TYPES = [

@@ -139,0 +139,0 @@ "mp4",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc