付智勇

no message

@@ -3,10 +3,10 @@ var crypto = require('crypto'); @@ -3,10 +3,10 @@ var crypto = require('crypto');
3 var appID = "970ca35de60c44645bbae8a215061b33";//传参 3 var appID = "970ca35de60c44645bbae8a215061b33";//传参
4 var appCertificate = "5cfd2fd1755d40ecb72977518be15d3b";//传参 4 var appCertificate = "5cfd2fd1755d40ecb72977518be15d3b";//传参
5 var channel = "7d72365eb983485397e3e3f9d460bdda"; //传参 5 var channel = "7d72365eb983485397e3e3f9d460bdda"; //传参
6 -var ts = 1446455472; 6 +var ts = new Date().getTime()/1000;
7 var r = 58964981; 7 var r = 58964981;
8 var uid=2882341273; //传参 8 var uid=2882341273; //传参
9 -var expiredTs=1446455471; 9 +var expiredTs=(new Date().getTime()+1000*60*60*24*7)/1000;
10 10
11 var version = "005"; 11 var version = "005";
12 var noUpload = "0"; 12 var noUpload = "0";
@@ -71,7 +71,6 @@ var inspectMediaChannelKey = function async(appID, appCertificate, channelName, @@ -71,7 +71,6 @@ var inspectMediaChannelKey = function async(appID, appCertificate, channelName,
71 71
72 that.putUint16 = function(v) { 72 that.putUint16 = function(v) {
73 try { 73 try {
74 - console.log(typeof v)  
75 that.buffer.writeUInt16LE(v, that.position); 74 that.buffer.writeUInt16LE(v, that.position);
76 that.position += 2; 75 that.position += 2;
77 } catch (error) { 76 } catch (error) {