mirror of
https://github.com/musix-org/musix-oss
synced 2025-01-11 01:44:50 +00:00
18 lines
325 B
JavaScript
18 lines
325 B
JavaScript
|
const MediaTranscoder = require('./transcoders/MediaTranscoder');
|
||
|
|
||
|
class Prism {
|
||
|
constructor() {
|
||
|
this.transcoder = new MediaTranscoder(this);
|
||
|
}
|
||
|
|
||
|
createTranscoder(...args) {
|
||
|
return this.transcode(...args);
|
||
|
}
|
||
|
|
||
|
transcode(...args) {
|
||
|
return this.transcoder.transcode(...args);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = Prism;
|