Commit 1586ab99 authored by Linshizhi's avatar Linshizhi

update

parent c8373a1f
import { makeMsg, MESSAGE_TYPE, typeOfMsg } from './encGrooupMsg.js'; import { makeMsg, MESSAGE_TYPE, typeOfMsg } from './encGrooupMsg.js';
const { Observable } = rxjs; import { Observable } from 'rxjs';
export class WWInitError extends Error { export class WWInitError extends Error {
......
...@@ -104,11 +104,11 @@ export class H264EncWWGroup extends WWGroup { ...@@ -104,11 +104,11 @@ export class H264EncWWGroup extends WWGroup {
// in order. // in order.
// Create Muxer // Create Muxer
this.#muxWorker = new WW("MUX", '/paraencode/resources/workers/muxWW.js'); this.#muxWorker = new WW("MUX", '../resources/workers/muxWW.js');
// Create Encoder // Create Encoder
for (let i = 0; i < this.#numOfEncWorker; ++i) { for (let i = 0; i < this.#numOfEncWorker; ++i) {
let worker = new WW("ENC_" + i, '/paraencode/resources/workers/encWW.js'); let worker = new WW("ENC_" + i, '../resources/workers/encWW.js');
this.#encWorkers.push(worker); this.#encWorkers.push(worker);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment