Skip to content

Commit

Permalink
Merge pull request #283 from thijstriemstra/patch-2
Browse files Browse the repository at this point in the history
add timeslice and onTimeStamp options in MRecordRTC
  • Loading branch information
muaz-khan authored Jun 15, 2017
2 parents 74a8119 + f244fb3 commit ffb4412
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dev/MRecordRTC.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ function MRecordRTC(mediaStream) {
numberOfAudioChannels: this.numberOfAudioChannels || 2,
disableLogs: this.disableLogs,
recorderType: recorderType,
mimeType: mimeType.audio
mimeType: mimeType.audio,
timeSlice: this.timeSlice,
onTimeStamp: this.onTimeStamp
});

if (!mediaType.video) {
Expand Down Expand Up @@ -145,7 +147,9 @@ function MRecordRTC(mediaStream) {
frameInterval: this.frameInterval || 10,
disableLogs: this.disableLogs,
recorderType: recorderType,
mimeType: mimeType.video
mimeType: mimeType.video,
timeSlice: this.timeSlice,
onTimeStamp: this.onTimeStamp
});

if (!mediaType.audio) {
Expand Down

0 comments on commit ffb4412

Please sign in to comment.