[Theora] encoding to many clients

Karol Bryd karolbe at gmail.com
Mon Aug 29 13:52:29 PDT 2005

On 8/29/05, Ralph Giles <giles at xiph.org> wrote:
> The trick with Theora (and Vorbis audio) is that the decoder
> requires a couple of header packets from the start of the Ogg
> stream to configure itself and properly decode the following
> data packets. This means you need to cache these header packets
> (as Ogg pages) and send them to new clients on connect before
> sending any of the currently in-processes data. If the clients
> all connect at the same time and receive the entire Ogg stream
> in order, it's not an issue.

This is it! This is why I've had problems with decoding the stream.
I will resend the headers and it should work just fine. Thanks a lot!

I'm going back to coding :)

Fotografia przyrodnicza i nie tylko

More information about the Theora mailing list