Skip to content

Update MultiStreamsMixer.js - About appendStreams function#40

Open
binhtlthien wants to merge 1 commit intomuaz-khan:masterfrom
binhtlthien:fix-bug/append-streams
Open

Update MultiStreamsMixer.js - About appendStreams function#40
binhtlthien wants to merge 1 commit intomuaz-khan:masterfrom
binhtlthien:fix-bug/append-streams

Conversation

@binhtlthien
Copy link

Hi forks,

I have an issue when try to init a new MultiStreamsMixer with an empty stream array 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 an empty stream array .
Append streams(with audio config is true) via ".appendStreams".

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.

1 participant