Hi there Icecast, Hope all is well. I have a macOS application that takes audio in from an external mixer, and uses Apple core audio to process. I want to add a live streaming feature to an Icecast server. Is there any Swift API examples. I just want a basic API that will take the core audio and stream it out to an Icecast service. In my endeavors to find this, I have found the dark ice source code. But there are many things in this code that I just don?t need or want. I just need to know how to wrap the audio and what chunks to give to you. Thanks, Chris
On 1 Mar 2019, at 18:04, Christopher Curry wrote:> Hi there Icecast, > > Hope all is well. > > I have a macOS application that takes audio in from an external mixer, > and uses Apple core audio to process. I want to add a live streaming > feature to an Icecast server. Is there any Swift API examples. I > just want a basic API that will take the core audio and stream it out > to an Icecast service.No. Probably best is to use libshout, note that you still need to encode the stream, libshout does not take care of that.> > In my endeavors to find this, I have found the dark ice source code. > But there are many things in this code that I just don?t need or > want. I just need to know how to wrap the audio and what chunks to > give to you. > > > Thanks, > Chris > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast
Would BUTT do the job? https://sourceforge.net/projects/butt/ --R On 01-Mar-19 17:04, Christopher Curry wrote:> Hi there Icecast, > > Hope all is well. > > I have a macOS application that takes audio in from an external mixer, and uses Apple core audio to process. I want to add a live streaming feature to an Icecast server. Is there any Swift API examples. I just want a basic API that will take the core audio and stream it out to an Icecast service. > > In my endeavors to find this, I have found the dark ice source code. But there are many things in this code that I just don?t need or want. I just need to know how to wrap the audio and what chunks to give to you. > > > Thanks, > Chris > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast
Hi there!! Thanks Marvin about the idea on libshout. I will look into it! Richard, thanks for your response as well.Currently I am using BUTT to do what I want. However my goal is to incorporate the functionally of just the streaming audio to icecast inside of my own audio application that I am using. This will be so I can have one application running. I appreciate all ideas. Chris> On Mar 2, 2019, at 5:44 AM, Richard Elen <relen at brideswell.com> wrote: > > Would BUTT do the job? > > https://sourceforge.net/projects/butt/ > > --R > > On 01-Mar-19 17:04, Christopher Curry wrote: >> Hi there Icecast, >> >> Hope all is well. >> >> I have a macOS application that takes audio in from an external mixer, and uses Apple core audio to process. I want to add a live streaming feature to an Icecast server. Is there any Swift API examples. I just want a basic API that will take the core audio and stream it out to an Icecast service. >> >> In my endeavors to find this, I have found the dark ice source code. But there are many things in this code that I just don’t need or want. I just need to know how to wrap the audio and what chunks to give to you. >> >> >> Thanks, >> Chris >> _______________________________________________ >> Icecast mailing list >> Icecast at xiph.org >> http://lists.xiph.org/mailman/listinfo/icecast > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast
Hi Chris, Depending on how low level you want to get, you can also use the gstreamer libraries: https://gstreamer.freedesktop.org/documentation/deploying/mac-osx.html Here is an gstreamer pipeline to read from a mic and send the information to a local icecast server: gst-launch-1.0 alsasrc name=mic provide-clock=true do-timestamp=true ! audioconvert ! vorbisenc ! oggmux ! shout2send mount=/01.ogg port=8000 username=u1 password=p1 ip=localhost If you want to get fancy, you can also combine from multiple mic sources to create a surround/stereo effect. Jayesh On Sat, Mar 2, 2019 at 3:09 AM Richard Elen <relen at brideswell.com> wrote:> Would BUTT do the job? > > https://sourceforge.net/projects/butt/ > > --R > > On 01-Mar-19 17:04, Christopher Curry wrote: > > Hi there Icecast, > > > > Hope all is well. > > > > I have a macOS application that takes audio in from an external mixer, > and uses Apple core audio to process. I want to add a live streaming > feature to an Icecast server. Is there any Swift API examples. I just > want a basic API that will take the core audio and stream it out to an > Icecast service. > > > > In my endeavors to find this, I have found the dark ice source code. > But there are many things in this code that I just don’t need or want. I > just need to know how to wrap the audio and what chunks to give to you. > > > > > > Thanks, > > Chris > > _______________________________________________ > > Icecast mailing list > > Icecast at xiph.org > > http://lists.xiph.org/mailman/listinfo/icecast > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20190303/9cbe195b/attachment.html>