Skip to content

Commit

Permalink
Merge pull request #507 from alienpavlov/patch-1
Browse files Browse the repository at this point in the history
typos fixed in README.MD
  • Loading branch information
muaz-khan authored May 27, 2019
2 parents 3633aaf + 541f4d1 commit 528e165
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ navigator.mediaDevices.getUserMedia({
## Configuration

```javascript
let recorder = RecordRTC(stream, {
const recorder = RecordRTC(stream, {
// audio, video, canvas, gif
type: 'video',

Expand Down Expand Up @@ -122,7 +122,7 @@ let recorder = RecordRTC(stream, {
checkForInactiveTracks: false,

// requires timeSlice above
onTimeStamp: functiom(timestamp) {},
onTimeStamp: function(timestamp) {},

// both for audio and video tracks
bitsPerSecond: 128000,
Expand All @@ -131,7 +131,7 @@ let recorder = RecordRTC(stream, {
audioBitsPerSecond: 128000,

// only for video track
videoBitsPerSecond: 128000
videoBitsPerSecond: 128000,

// used by CanvasRecorder and WhammyRecorder
// it is kind of a "frameRate"
Expand Down Expand Up @@ -173,7 +173,7 @@ let recorder = RecordRTC(stream, {

// used by WebAssemblyRecorder
bitrate: 128000
};
});
```

## MediaStream parameter
Expand Down

0 comments on commit 528e165

Please sign in to comment.