Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
ParaEncode
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ParaEncode
Commits
ed7a15b7
Commit
ed7a15b7
authored
May 16, 2022
by
Linshizhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use absolute path to load web worker script.
parent
4cda2f75
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
encGroup.js
src/encGroup.js
+2
-2
No files found.
src/encGroup.js
View file @
ed7a15b7
...
@@ -89,11 +89,11 @@ export class H264EncWWGroup extends WWGroup {
...
@@ -89,11 +89,11 @@ export class H264EncWWGroup extends WWGroup {
// in order.
// in order.
// Create Muxer
// Create Muxer
this
.
#
muxWorker
=
new
WW
(
"MUX"
,
'
..
/resources/workers/muxWW.js'
);
this
.
#
muxWorker
=
new
WW
(
"MUX"
,
'
/paraencode
/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
,
'
..
/resources/workers/encWW.js'
);
let
worker
=
new
WW
(
"ENC_"
+
i
,
'
/paraencode
/resources/workers/encWW.js'
);
this
.
#
encWorkers
.
push
(
worker
);
this
.
#
encWorkers
.
push
(
worker
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment