websockets-streaming-audio
Advanced tools
Comparing version 1.0.35 to 2.0.3
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45
96
5
6
35519652
6
2405
+ Addedbufferutil@^4.0.1
+ Addedutf-8-validate@^5.0.2
+ Addedaudio-utils@2.0.2(transitive)
+ Addedbufferutil@4.0.8(transitive)
+ Addednode-gyp-build@4.8.4(transitive)
+ Addedshared-utils@2.0.1(transitive)
+ Addedutf-8-validate@5.0.10(transitive)
+ Addedws@8.18.0(transitive)
- Removedaudio-utils@1.0.1(transitive)
- Removedcommander@2.1.0(transitive)
- Removednan@1.0.0(transitive)
- Removedoptions@0.0.6(transitive)
- Removedshared-utils@0.1.60.1.8(transitive)
- Removedtinycolor@0.0.1(transitive)
- Removedws@0.4.32(transitive)
Updatedaudio-utils@2.x.x
Updatedshared-utils@2.x.x
Updatedws@>=7.2.1