Skip to content

Fixed MediaStreamRecorder audio bug#295

Open
kevin-frugier wants to merge 1 commit intomuaz-khan:masterfrom
kevin-frugier:master
Open

Fixed MediaStreamRecorder audio bug#295
kevin-frugier wants to merge 1 commit intomuaz-khan:masterfrom
kevin-frugier:master

Conversation

@kevin-frugier
Copy link
Copy Markdown

In MediaStreamRecorder there is a (not so) dirty hack to record audio when the stream contains both video and audio (otherwise video/webm blobs are recorded).
The hack uses this.type which is not yet set (the propertiesMerge is only done after construction).
As a workaround I passed config.type to Recorder constructor since in MediaStreamRecorder the type can be used right away to change the mediastream.

…er the type can be used right away to change the mediastream
@muaz-khan
Copy link
Copy Markdown
Owner

Can you please push these updates to MediaStreamRecorder repository?

Ref:

  1. MediaRecorder.js
  2. MediaStreamRecorder.js

@kevin-frugier
Copy link
Copy Markdown
Author

Ok I've done it now : streamproc/MediaStreamRecorder#20

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