Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gabrielmaialva33/discord-video-stream

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gabrielmaialva33/discord-video-stream - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

2

package.json
{
"name": "@gabrielmaialva33/discord-video-stream",
"version": "0.6.1",
"version": "0.6.2",
"description": "Experiment for making video streaming work for discord self bots",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,2 +0,2 @@

import { crypto_secretbox_easy } from 'libsodium-wrappers'
import libsodium from 'libsodium-wrappers'

@@ -166,3 +166,7 @@ import { MediaUdp } from '#src/client/voice/media_udp'

packetHeader,
crypto_secretbox_easy(senderReport, nonceBuffer, this._mediaUdp.mediaConnection.secretkey),
libsodium.crypto_secretbox_easy(
senderReport,
nonceBuffer,
this._mediaUdp.mediaConnection.secretkey
),
nonceBuffer.subarray(0, 4),

@@ -226,4 +230,8 @@ ])

encryptData(message: string | Uint8Array, nonceBuffer: Buffer): Uint8Array {
return crypto_secretbox_easy(message, nonceBuffer, this._mediaUdp.mediaConnection.secretkey)
return libsodium.crypto_secretbox_easy(
message,
nonceBuffer,
this._mediaUdp.mediaConnection.secretkey
)
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc