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

websockets-streaming-audio

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

websockets-streaming-audio - npm Package Compare versions

Comparing version 1.0.35 to 2.0.3

output_good_run_browser_console

12

package.json
{
"name": "websockets-streaming-audio",
"version": "1.0.35",
"version": "2.0.3",
"author": "Scott Stensland <scottstensland@gmail.com> (http://catfoodnation.com/)",

@@ -9,10 +9,12 @@ "bugs": {

"dependencies": {
"ws": "0.4.x",
"ws": ">=7.2.1",
"express": "^4.4.5",
"audio-utils" : "1.0.x",
"shared-utils" : "0.1.8"
"audio-utils": "2.x.x",
"shared-utils": "2.x.x",
"bufferutil": "^4.0.1",
"utf-8-validate": "^5.0.2"
},
"description": "Click a browser button to launch a node.js process on the server side which streams audio using web sockets back to the browser which is then rendered using web audio API My plan is to make this modular enough to get added to your process as simple API calls",
"engines": {
"node": "0.10.x"
"node": "12.14.0"
},

@@ -19,0 +21,0 @@ "homepage": "https://github.com/scottstensland",

@@ -82,2 +82,3 @@ websockets-streaming-audio

- please click reload in between each stream button hit until I teach myself Angularjs ;-)))
- on mobile it works OK using Android lollipop with mozilla nightly 38.0a1 (2015-02-01) and above - anything earlier fails to correctly implement web sockets inside web workers ... and even firefox ver 38 is a bit shady ;-) ... I do not use iOS so dunno how that phone handles this system

@@ -90,4 +91,7 @@ **Lessions Learned**

Feel free to contact me via the github Issues forum if you have any questions! :-)
... my twitter name is same as my github name
[@scottstensland](http://twitter.com/scottstensland)
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/scottstensland/websockets-streaming-audio/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

@@ -620,3 +620,3 @@

// all_media[4] = "sine_wave_65536_64.wav";
all_media[5] = "Lee_Smolin_Physics_Envy_and_Economic_Theory-cWn86ESze6M_mono_1st_few_seconds_trim.wav";
all_media[5] = "Justice_Genesis_first_30_seconds_tight.wav";
// all_media[6] = "1_to_11.wav";

@@ -838,2 +838,2 @@ // all_media[7] = "Viola_16_Jay_Haide_a_L_Ancienne_Stradivari-H4ri4jE14cE_4_seconds.wav";

}()); // client_entry
}()); // client_entry

@@ -429,2 +429,8 @@

audio_context.resume().then(() => {
console.log('Playback resumed successfully');
});
if (! queue_first_in_first_out.get_flag_audio_rendering() && (

@@ -431,0 +437,0 @@ (! queue_first_in_first_out.is_production_possible())) ||

@@ -187,4 +187,8 @@

var curr_buffer = new Buffer(BUFFER_SIZE_STREAMING);
// var curr_buffer = new Buffer(BUFFER_SIZE_STREAMING);
// above gives below using node 12.14.0
// (node:1680422) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
var curr_buffer = new Buffer.alloc(BUFFER_SIZE_STREAMING);
while ((curr_buffer = read_stream.read())) {

@@ -191,0 +195,0 @@

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