Skip to content

Update MultiStreamsMixer.js - About appendStreams function #706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

binhtlthien
Copy link

@binhtlthien binhtlthien commented Jun 15, 2022

Hi forks,

I have an issue when try to init a new MultiStreamsMixer with an empty array stream at constructor.
Then I append some streams via "appendStreams" function with the config "audio: true" => error, because it uses "audioContext" but not init anywhere.

My PR solution is "init audioContext before use".

Steps to reproduce:

  • Init a new MultiStreamsMixer with empty array streams.
  • Append streams(with audio config is true) via ".appendStreams".

@muaz-khan
Copy link
Owner

Please make a PULL here instead: https://github.com/muaz-khan/MultiStreamsMixer

@binhtlthien
Copy link
Author

binhtlthien commented Jun 16, 2022

Ok sir, pls check the PR here: muaz-khan/MultiStreamsMixer#40

@binhtlthien binhtlthien deleted the fix-bug/MultiStreamsMixer branch June 16, 2022 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants