[theora] Theora over RTP/UPD

Basil Mohamed Gohar abu_hurayrah at hidayahonline.org
Mon Feb 8 06:24:12 PST 2010

On 02/08/2010 08:51 AM, Gisle Sælensminde wrote:
> Hi,
> I'm trying to get Theora working with a video conferencing application we are developing.
> This application sends the audio content via RTP over UPD, and as one would
> expect, there is a draft for how a Theora stream is supposed to be wrapped into an RTP
> stream.
> http://svn.xiph.org/trunk/theora/doc/draft-ietf-avt-rtp-theora-00.txt
> The problem is that it is not obvious to me how the raw theora frames should be put
> into the RTP format specified in that draft. More specificly, I don't understand how
> I should extract the data from the RTP packets in a form suitable for input to the
> decoder. Usually when you send Theora via ogg streams, via the network or files,
> the ogg library does this for you, and there are code examples for how it can be
> done. I have not found examples where Theora is streamed via RTP. Anyone that
> know about
> Also the draft is quite old, and have expired. Does that mean that the work to
> standardize it have been abandoned, so that I should not implement anything based
> on it, or just that there have not been time to finish it, and given enough effort it will
> eventually be finished?
> The closest I came on this list, was two threads about multicast, linked to below:
> http://lists.xiph.org/pipermail/theora/2008-August/001859.html
> http://lists.xiph.org/pipermail/theora/2009-December/003109.html
> Here icecast was mentioned, but that does not support and UPD-based protocol,
> as far as I could see from the docs and the source.
> If anyone have any examples, I will examine these, if not I will come back with a more
> detailed question
> Thanks in advance,
> -Gisle
Hello Gisle,

I apologize that I cannot offer you much help at the moment, because I
am not really a desktop application developer, and I have very little
experience with network programming.  However, I am interested in
knowing more about the application that you're developing, because this
is an area that is important to me (i.e., realtime streaming of Theora

However, one bit of help that I may be able to offer is to checkout the
source code of Ekiga (http://www.ekiga.org) because I believe they do
include Theora as an option for their video conferencing feature, and
Ekiga works over SIP, which is a UDP-based protocol (if I'm not
mistaken).  Hopefully you can find something helpful over there.  The
developers of the Ekiga project (at least the one I connected with) are
kind and will reply to your inquiries, so you can also try that as well.

More information about the theora mailing list