got remote video stream, now let's show it in a video tag let video = document.querySelector('video') video.src = window.URL.createObjectURL(stream) video.play() }) }
BEGIN PGP MESSAGE ----- ...."; var asp = /* as in Encryption ... */ ; kbpgp.unbox({ keyfetch: ring, armored: pgp_msg, asp }, function(err, literals) { console.log("decrypted message"); console.log(literals[0].toString()); }); Decryption