Skip to content

Commit

Permalink
feat: added max bitrate for archive
Browse files Browse the repository at this point in the history
  • Loading branch information
manchuck committed Dec 10, 2024
1 parent 8fedf2e commit f82ad02
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/video/__tests__/video.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import nock from 'nock';
import nock from 'nock';
import { decode } from 'jsonwebtoken';
import { Auth } from '@vonage/auth';
import testDataSets from './__dataSets__';
Expand Down Expand Up @@ -395,6 +395,7 @@ describe('video', () => {
size: 0,
status: 'started',
streamMode: 'auto',
maxBitrate: 0,
url: null,
};

Expand Down
5 changes: 5 additions & 0 deletions packages/video/lib/types/ArchiveOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,9 @@ export type ArchiveOptions = {
* Stream mode for the archive.
*/
streamMode?: StreamMode;

/**
* The maximum video bitrate for the archive, in bits per second
*/
maxBitrate?: number;
}

0 comments on commit f82ad02

Please sign in to comment.