The firmware of the STM8 needed some enhancement in order to provide more controlling options for vorbis quality-settings and samplerate. I decided to implement a simple one-byte protocol. The specification for the protocol can be found on the wiki.
I also implemented the protocol today and now the STM8-Firmware can be considered something like RC1 🙂
I was trying really hard to get the IceCast-Server working under the XportPro-uclinux buildsystem but after more than a week of work I ended up in desperation. And I dropped the Idea of running an instance of IceCast-Server on the Device itselfs. – Of course support for upstreaming to an IceCast-Server still remains. That’s the bad news. But the good one is that I found a sleek little Streaming-Server, that just does the job as it should. It only took a few hours and the sighttpd – Server by Conrad Parker was up and running. First tests show that this Server should be able to serve around 20 Listeners directly (for really high bandwith vorbis; tested with 350kbps).
Building sighttpd is a great choice for embedded systems, as it only depends on LibOgg and LibOggz, whereas IceCast (at least) needs LibOgg, LibVorbis, LibShout, LibXML2, LibXSLT. May be it was the number of dependencies that complicated my attempts to get IceCast running. In fact it compiled just fine – but for some reason in this configuration pthread_create just didn’t work as it should… sighttpd also uses pthreads – but no problem with this configuration.
So let’s stick with sighttpd 🙂
Today I uploaded the Sourcecode of the STM8 Mikrocontroller (the bridge between XportPro and VS1053/VS1063) – Please note this sourcecode is just a sketch for the Prototyp and urgently needs rewriting, formating and documentation.
The STM8 Firmware is devloped with “ST Visual Develop” IDE and uses the free 32kB-Version of the Raisonance Compiler. So it needs a windows environment for compilation.
The git repository can be found under: http://sourceforge.net/p/oggstreamer/stm8firmware/