diff --git a/util/inspectMediaChannelKey.js b/util/inspectMediaChannelKey.js
index 42a747a..c6214cb 100644
--- a/util/inspectMediaChannelKey.js
+++ b/util/inspectMediaChannelKey.js
@@ -3,10 +3,10 @@ var crypto = require('crypto');
 var appID  = "970ca35de60c44645bbae8a215061b33";//传参
 var appCertificate = "5cfd2fd1755d40ecb72977518be15d3b";//传参
 var channel = "7d72365eb983485397e3e3f9d460bdda"; //传参
-var ts = 1446455472;
+var ts = new Date().getTime()/1000;
 var r = 58964981;
 var uid=2882341273; //传参
-var expiredTs=1446455471;
+var expiredTs=(new Date().getTime()+1000*60*60*24*7)/1000;
 
 var version = "005";
 var noUpload = "0";
@@ -71,7 +71,6 @@ var inspectMediaChannelKey = function async(appID, appCertificate, channelName, 
     
         that.putUint16 = function(v) {
             try {
-                console.log(typeof v)
                 that.buffer.writeUInt16LE(v, that.position);
                 that.position += 2;
             } catch (error) {