Skip to content

Commit

Permalink
New release: [email protected]
Browse files Browse the repository at this point in the history
closed #332
  • Loading branch information
muaz-khan committed Oct 1, 2017
1 parent 90b8c66 commit a84ffae
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ bower install recordrtc
You can even link specific [releases](https://github.com/muaz-khan/RecordRTC/releases):

```html
<!-- use 5.4.3 or any other version -->
<script src="https://github.com/muaz-khan/RecordRTC/releases/download/5.4.3/RecordRTC.js"></script>
<!-- use 5.4.4 or any other version -->
<script src="https://github.com/muaz-khan/RecordRTC/releases/download/5.4.4/RecordRTC.js"></script>
```

## How to capture stream?
Expand Down Expand Up @@ -1087,6 +1087,16 @@ recordRTC.getFromDisk(function(dataURL) {

In the above example; you can see that `recordRTC` instance object is used instead of global `RecordRTC` object.

## `destroy`

Destroy all internal recorders. Clear memory and ask RecordRTC to stop doing anything internally:

```javascript
recorder.destroy();
```

Note: You can use this method anytime, anywhere; even during recording a stream.

## Promises

```html
Expand Down

0 comments on commit a84ffae

Please sign in to comment.