Description
Hello.
Wow for that great project.
Opus codec is used to play local opus-files and url-opus-files in a GitHub project.
https://github.com/fredvs/uos
All the C headers where translated in Pascal fpc code.
It works great.
Now I want to do audio-web-streaming.
It seems to me that Icecast+libshout would be the perfect choice.
I have translated the c header shout.h into Pascal fpc header, it works.
https://github.com/fredvs/uos/blob/master/src/uos_shout.pas
(By the way you are welcome to add it in your headers-addon).
Now the question:
What are the steps to use libshout ?
In a loop, a buffer of pcm is filled.
Could that buffer be used by libshout or must it be encoded into Opus-format ?
With what method must that buffer be assigned ?
All example code is highly welcome (in each language).
Many thanks.
Fre;D
Activity