Skip to content
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

Fixed MediaStreamRecorder audio bug #295

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kevin-frugier
Copy link

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
Owner

Can you please push these updates to MediaStreamRecorder repository?

Ref:

  1. MediaRecorder.js
  2. MediaStreamRecorder.js

@kevin-frugier
Copy link
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