<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Chris,</div><div dir="ltr"><br></div><div dir="ltr">Depending on how low level you want to get, you can also use the gstreamer libraries:</div><div dir="ltr"><div><a href="https://gstreamer.freedesktop.org/documentation/deploying/mac-osx.html">https://gstreamer.freedesktop.org/documentation/deploying/mac-osx.html</a><br></div><div><br></div><div>Here is an gstreamer pipeline to read from a mic and send the information to a local icecast server:</div><div>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<br></div><div><br></div><div>If you want to get fancy, you can also combine from multiple mic sources to create a surround/stereo effect.</div><div><br></div><div>Jayesh</div><div><br></div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 2, 2019 at 3:09 AM Richard Elen <<a href="mailto:relen@brideswell.com">relen@brideswell.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Would BUTT do the job?<br>
<br>
<a href="https://sourceforge.net/projects/butt/" rel="noreferrer" target="_blank">https://sourceforge.net/projects/butt/</a><br>
<br>
--R<br>
<br>
On 01-Mar-19 17:04, Christopher Curry wrote:<br>
> Hi there Icecast,<br>
><br>
> Hope all is well.<br>
><br>
> 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.<br>
><br>
> 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.<br>
><br>
><br>
> Thanks,<br>
> Chris<br>
> _______________________________________________<br>
> Icecast mailing list<br>
> <a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br>
> <a href="http://lists.xiph.org/mailman/listinfo/icecast" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
_______________________________________________<br>
Icecast mailing list<br>
<a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/icecast" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
</blockquote></div>