nl_tokens: 取个SD的直播流来用用
pl_tokens: function getSDLiveUrl ( sn ) { const a = 've3.ji' ; const b = '60.c' ; return $ . ajax ( { url : 'https://li' + a + 'a.3' + b + 'n/public/getInfoAndPlayV2?from=mpc_ipcam_web&sn=36' + sn + '&taskid=' + + new Date ( ) , type : 'get' , dataType : 'jsonp' , } ) . then ( function ( data ) { let liveHLS = data && data . playInfo && data . playInfo . hls ; const <mask> = { } ; if ( liveHLS ) { if ( needFlv ) liveHLS = liveHLS . replace ( 'hls-live' , 'flv-live' ) . replace ( '/index.m3u8' , '.flv' ) ; ret . url = liveHLS ; ret . poster = data . publicInfo . thumbnail ; } return ret ; } ) ; }