Audino.js is a audio library built for native OPUS, MP3, OGA, and AAC streaming. It relies on the Web Audio API to reliably stream audio across all platforms. This library was developed for the Radiowave.io platform.
Features
Cross platform support
Supports OPUS, OGA, MP3, AAC
No outside dependencies needed
Small in size (6kb)
Installation
npm install @radiowave/audino --save
Example Usage
import { Audino } from '@radiowave/audino'
const play = async () => {
const player = new Audino()
await player.loadStream({
url: 'http://url.com/stream.mp3',
type: 'mp3'
})
await player.play()
}
(async () => {
await play()
})()