Skip to content

Commit e5ae062

Browse files
committed
update file formats
1 parent f74ae64 commit e5ae062

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

js/module.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,8 @@ export declare const enum ERecordingFormat {
753753
FLV = "flv",
754754
MOV = "mov",
755755
MKV = "mkv",
756-
TS = "ts",
757-
M3U8 = 'm3u8'
756+
MPEGTS = "ts",
757+
HLS = "m3u8"
758758
}
759759
export declare const enum ERecordingQuality {
760760
Stream = 0,

js/module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,8 +1652,8 @@ export const enum ERecordingFormat {
16521652
FLV = 'flv',
16531653
MOV = 'mov',
16541654
MKV = 'mkv',
1655-
TS = 'ts',
1656-
M3U8 = 'm3u8'
1655+
MPEGTS = 'ts',
1656+
HLS = 'm3u8'
16571657
}
16581658

16591659
export const enum ERecordingQuality {

tests/osn-tests/src/test_osn_simple_recording.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,8 @@ describe(testName, () => {
326326
ERecordingFormat.MOV,
327327
ERecordingFormat.MKV,
328328
ERecordingFormat.FLV,
329-
ERecordingFormat.TS,
330-
ERecordingFormat.M3U8,
329+
ERecordingFormat.MPEGTS,
330+
ERecordingFormat.HLS,
331331
];
332332
for (const format of formats) {
333333
const recording = osn.SimpleRecordingFactory.create();

0 commit comments

Comments
 (0)