我正试图用Howler.js播放一个音频流。该流通过Rails ActionCable在websocket上。
我知道,我可以用下面的代码让Howler播放流媒体。
var player = new Howl({
src: 'wss://mywebsite.com/stream',
html5: true,
format: ['wav']
player.play();
|
|
淡定的茶壶 · Python经纬度-阿里云· 1 年前 · |
|
|
风流的火柴 · 如何使用 WebAssembly 和 JS ...· 2 年前 · |
|
|
低调的葡萄酒 · 怎样在Word中插入代码并保持代码原始样式不 ...· 2 年前 · |