Skip to content

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