This is so that passthrough streams do not get blocked on the main thread. Video streams were being setup as passthrough streams in the main thread, which caused video send and receive to be blocked by long tasks on the main thread. Running the passthrough streams in the redundant audio worker will prevent these blocking issues.
Testing:
Can these tested using a demo application? Please provide reproducible step-by-step instructions.
Join a demo meeting
Verify that the console log [AudioRed] Setting up passthrough transform shows up to indicate that the passthrough transforms for each video are being setup in the redundant audio worker
Checklist:
Have you successfully run npm run build:release locally?
yes
Do you add, modify, or delete public API definitions? If yes, has that been reviewed and approved?
no
Do you change the wire protocol, e.g. the request method? If yes, has that been reviewed and approved?
no
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
…t audio worker
Issue #: n/a
Description of changes:
This is so that passthrough streams do not get blocked on the main thread. Video streams were being setup as passthrough streams in the main thread, which caused video send and receive to be blocked by long tasks on the main thread. Running the passthrough streams in the redundant audio worker will prevent these blocking issues.
Testing:
Can these tested using a demo application? Please provide reproducible step-by-step instructions.
[AudioRed] Setting up passthrough transform
shows up to indicate that the passthrough transforms for each video are being setup in the redundant audio workerChecklist:
Have you successfully run
npm run build:release
locally? yesDo you add, modify, or delete public API definitions? If yes, has that been reviewed and approved? no
Do you change the wire protocol, e.g. the request method? If yes, has that been reviewed and approved? no
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.