TianyiLi
Results
1
comments of
TianyiLi
自己的問題自己解,也分享給其他人 ```javascript function streamVideo(){ let self = this; this.$refs.prviewVideo.src = window.URL.createObjectURL(mediaSource) jsftp.get('/var/lib/ltms/transtep/man/media/full/sample.mp4', function(err, socket){ if (err) throw new Error(); let buffs = [] socket.on('data', buffer=>{ buffs.push(buffer) }) socket.on('close', (hasErr)=>{ if...