From c3d8dd321359fd79ea541671c74e182f08403bad Mon Sep 17 00:00:00 2001 From: Muaz Khan Date: Wed, 8 Mar 2017 14:14:16 +0500 Subject: [PATCH] Fixed #347 Updated DetectRTC. Fixed pre-recorded media streaming demo. --- Gruntfile.js | 6 +- demos/Pre-recorded-Media-Streaming.html | 4 +- dev/DetectRTC.js | 154 ++++++++++++------- dev/RTCPeerConnection.js | 24 ++- dev/globals.js | 10 +- dist/RTCMultiConnection.js | 194 +++++++++++++++--------- dist/RTCMultiConnection.min.js | 14 +- 7 files changed, 257 insertions(+), 149 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 8c572cae..6bb91d9d 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -9,7 +9,9 @@ module.exports = function(grunt) { var versionNumber = grunt.file.readJSON('package.json').version; - var banner = '// Last time updated: <%= grunt.template.today("UTC:yyyy-mm-dd h:MM:ss TT Z") %>\n\n'; + var banner = '\'use strict\';\n\n'; + + banner += '// Last time updated: <%= grunt.template.today("UTC:yyyy-mm-dd h:MM:ss TT Z") %>\n\n'; banner += '// _________________________\n'; banner += '// RTCMultiConnection v' + versionNumber + '\n\n'; @@ -21,8 +23,6 @@ module.exports = function(grunt) { banner += '// MIT License - www.WebRTC-Experiment.com/licence\n'; banner += '// --------------------------------------------------\n\n'; - banner += '\'use strict\';\n\n'; - // configure project grunt.initConfig({ // make node configurations available diff --git a/demos/Pre-recorded-Media-Streaming.html b/demos/Pre-recorded-Media-Streaming.html index 8a32d9fa..5a38257f 100755 --- a/demos/Pre-recorded-Media-Streaming.html +++ b/demos/Pre-recorded-Media-Streaming.html @@ -101,6 +101,8 @@

Pre-recorded media streaming using RTCMultiConnection