Skip to content

Commit

Permalink
Added "destroy" method muaz-khan#332
Browse files Browse the repository at this point in the history
  • Loading branch information
muaz-khan committed Sep 30, 2017
1 parent 3512c96 commit 90b8c66
Show file tree
Hide file tree
Showing 19 changed files with 716 additions and 257 deletions.
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ module.exports = function(grunt) {
dist: {
src: [
'dev/RecordRTC.js',
'dev/RecordRTC.IndexedDB.js',
'dev/RecordRTC-Configuration.js',
'dev/GetRecorderType.js',
'dev/MRecordRTC.js',
Expand Down
3 changes: 2 additions & 1 deletion MRecordRTC/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@

<!-- script used for audio/video/gif recording -->
<script src="https://cdn.webrtc-experiment.com/RecordRTC.js"></script>
<script src="https://cdn.webrtc-experiment.com/DetectRTC.js"></script>
<script src="https://cdn.webrtc-experiment.com/gif-recorder.js"></script>
<script src="https://cdn.webrtc-experiment.com/getMediaElement.js"></script>

Expand Down Expand Up @@ -187,7 +188,7 @@ <h2 class="header">
video: true // or WhammyRecorder or MediaStreamRecorder
};

if (webrtcDetectedBrowser === 'edge') {
if (DetectRTC.browser.name === 'Edge') {
// Microsoft Edge currently supports only audio and gif recording
mRecordRTC.mediaType = {
audio: StereoAudioRecorder
Expand Down
Loading

0 comments on commit 90b8c66

Please sign in to comment.