<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I looked at these requests and started
trying to interpret the data of the header and the stream. I
receive a header, and even when I added the parameter to the
request to try and get meta-data, it seems that it is not being
included. Namely, the number that is supposed to tell the distance
between each meta-data section that is sent in the stream. I
couldn't figure out the config setting for relaying meta-data with
my icecast stream.<br>
<br>
When I look at the stream, I also noticed that it says Oggs twice.
Which one of these starts the stream? So what information is
really important from the header, and is any of that actually
important for decoding? How Can I find the first part of the
stream that needs to be passed to Libogg, and does libogg or
(libvorbis) have a feature that will callback when it reads meta
data.<br>
<br>
<div class="moz-signature">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<title></title>
<div class="moz-signature">
<div class="moz-signature">
<pre>Best,
Andy S. Martin
<a href="http://www.guitarrpg.com">www.guitarrpg.com</a><font color="#333333">
M.S. Computer Science Game Development
University of Southern California '2013 Alumni</font>
</pre>
</div>
</div>
</div>
On 10/3/13 5:04 PM, Brad Isbell wrote:<br>
</div>
<blockquote
cite="mid:CAELR-fDnhwvDgNKs3=iBkXVYTxUgM8Xkq7o8uNEgGinG57=bsw@mail.gmail.com"
type="cite">
<div dir="ltr">The headers you get back are just an HTTP response.
When you get to the actual data part of the message (where you
see Oggs) that's the data you send off to libogg to decode.
<div><br>
</div>
<div>You will need to remove metadata from the response
periodically. See my posts here for more info:</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://stackoverflow.com/a/6072488/362536">http://stackoverflow.com/a/6072488/362536</a><br>
</div>
<div><a moz-do-not-send="true"
href="http://stackoverflow.com/a/4914538/362536">http://stackoverflow.com/a/4914538/362536</a><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div style="margin-top:2em;border-top:1px solid
#555;width:50%">
<table style="font-size:13px;color:#333">
<tbody>
<tr>
<td><img moz-do-not-send="true"
src="http://audiopump.co/img/audiopump-logo-64px.png"></td>
<td><strong>Brad Isbell // AudioPump</strong><br>
<a moz-do-not-send="true"
href="mailto:brad@audiopump.co" target="_blank">brad@audiopump.co</a><br>
Skype: bradisbell<br>
Phone: +1 312-488-4680</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
<br>
<div class="gmail_quote">On Thu, Oct 3, 2013 at 5:44 PM, Andy
Martin <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:zippo227@gmail.com" target="_blank">zippo227@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> I want to write an
icecast listener client using C# and C++. I can
asynchronously connect read the continuous bytes from the
stream using some basic C# code. When I look at the bytes
(interpreted as ASCII) I don't understand what it is that
I need to be using before passing the Ogg to libogg. I see
some artist information, and I know that there is an
ICY200OK type of message. I also see the word Oggs at the
beginning. But, what do I really need to do to decode the
stream and the header? What parts of the header are
actually necessary for libogg to start pulling the
packets? <br>
<br>
Ideally, my client would connect to the stream and read
the header as well as detect track information that is
included in the icecast periodically. <br>
<br>
The documentation that I've been reading for Icecast only
explains the server and source client side. I've been
working with icecast for a little over a year now, and I
have had to resort to commercial products for decoding and
playing a stream. I want to include this capability in my
project without having to ask people to use Winamp or some
other player. I want to find the documentation on how to
read the stream; how to interpret the periodic meta-data;
how to pack these bytes into something usable for libogg.
I'm very new to this concept of pages and packets.<br>
<br>
Thank you in advance for reading this request.<span
class="HOEnZb"><font color="#888888"><br>
<div>-- <br>
<div>
<div>
<pre>Best,
Andy S. Martin
<a moz-do-not-send="true" href="http://www.guitarrpg.com" target="_blank">www.guitarrpg.com</a><font color="#333333">
M.S. Computer Science Game Development
University of Southern California '2013 Alumni</font>
</pre>
</div>
</div>
</div>
</font></span></div>
<br>
_______________________________________________<br>
Icecast-dev mailing list<br>
<a moz-do-not-send="true" href="mailto:Icecast-dev@xiph.org">Icecast-dev@xiph.org</a><br>
<a moz-do-not-send="true"
href="http://lists.xiph.org/mailman/listinfo/icecast-dev"
target="_blank">http://lists.xiph.org/mailman/listinfo/icecast-dev</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>