forked from Eyevinn/node-srt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
26 lines (25 loc) · 753 Bytes
/
index.js
File metadata and controls
26 lines (25 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
const { SRT } = require('./src/srt');
const { AsyncSRT } = require('./src/async-api');
const { SRTReadStream } = require('./src/srt-stream-readable');
const { SRTWriteStream } = require('./src/srt-stream-writable');
const { SRTServer } = require('./src/srt-server');
const { SRTClientConnection } = require('./src/srt-client');
const { setSRTLoggingLevel } = require('./src/logging');
const {
createAsyncWorker: createSRTAsyncWorker,
getAsyncWorkerPath: getSRTAsyncWorkerPath
} = require('./src/async-worker-provider');
module.exports = {
SRT,
AsyncSRT,
SRTClientConnection,
SRTServer,
SRTReadStream,
SRTWriteStream,
setSRTLoggingLevel,
isSRTInstalled() {
return !! SRT;
},
createSRTAsyncWorker,
getSRTAsyncWorkerPath,
};