luminarys / kawa Goto Github PK
View Code? Open in Web Editor NEWRadio streamer
License: BSD 3-Clause "New" or "Revised" License
Radio streamer
License: BSD 3-Clause "New" or "Revised" License
Really weird timestamps currently screw up kawa badly (way too slow/fast). We should probably switch to approximation via samples/sample rate, maybe only if we detect something really weird though.
Since the current metadata situation sucks, try adding in ICY metadata.
While playing back OGG/Opus streams, a new track will bring the playback to a stop.
To workaround this problem, I have a JS listener on error that tries to restart the stream.
These are the errors that get printed to the console if you log them:
PIPELINE_ERROR_DECODE: Failed to send audio packet for decoding: timestamp=93126542 duration=960000 size=19 side_data_size=0 is_key_frame=1 encrypted=0 discard_padding (ms)=(0, 0)
PIPELINE_ERROR_DECODE: Failed to send audio packet for decoding: timestamp=93126542 duration=960000 size=19 side_data_size=0 is_key_frame=1 encrypted=0 discard_padding (ms)=(0, 0)
PIPELINE_ERROR_DECODE: Failed to send audio packet for decoding: timestamp=1028188 duration=960000 size=19 side_data_size=0 is_key_frame=1 encrypted=0 discard_padding (ms)=(0, 0)
Using latest kawa, tested in multiple radios
Even though mpv and other players more or less work fine, ffmpeg complains about the chained file approach we have to take due to mpd. We should alter operational modes based on the user agents to ensure all clients have a better experience.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.