Skip to content

Commit

Permalink
Merge pull request #472 from thijstriemstra/patch-5
Browse files Browse the repository at this point in the history
add workerPath and webAssemblyPath options to MRecordRTC
  • Loading branch information
muaz-khan authored Jan 15, 2019
2 parents ad95b2d + 5154ea6 commit 1eb4a49
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dev/MRecordRTC.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* recorder.addStream(MediaStream);
* recorder.mediaType = {
* audio: true, // or StereoAudioRecorder or MediaStreamRecorder
* video: true, // or WhammyRecorder or MediaStreamRecorder
* video: true, // or WhammyRecorder or MediaStreamRecorder or WebAssemblyRecorder
* gif: true // or GifRecorder
* };
* // mimeType is optional and should be set only in advance cases.
Expand Down Expand Up @@ -53,7 +53,7 @@ function MRecordRTC(mediaStream) {
* var recorder = new MRecordRTC();
* recorder.mediaType = {
* audio: true, // TRUE or StereoAudioRecorder or MediaStreamRecorder
* video: true, // TRUE or WhammyRecorder or MediaStreamRecorder
* video: true, // TRUE or WhammyRecorder or MediaStreamRecorder or WebAssemblyRecorder
* gif : true // TRUE or GifRecorder
* };
*/
Expand Down Expand Up @@ -150,7 +150,9 @@ function MRecordRTC(mediaStream) {
recorderType: recorderType,
mimeType: mimeType.video,
timeSlice: this.timeSlice,
onTimeStamp: this.onTimeStamp
onTimeStamp: this.onTimeStamp,
workerPath: this.workerPath,
webAssemblyPath: this.webAssemblyPath
});

if (!mediaType.audio) {
Expand Down

0 comments on commit 1eb4a49

Please sign in to comment.