Re: ogg audio streaming problem

[email protected]
Newsgroups gmane.comp.multimedia.ogg.vorbis.devel
Message-ID <[email protected]>
> My application is as follows:
> I send download request to server,and server sends the download ogg file to
> client side.
> when  a certain amount of data is downloaded, and I start to play the ogg
> file by using a library.

[...]

You've set up the code to treat the file as seekable and complete.

> I think the problem is vf->seekable = 1.
> if the vf->seekable = 1, is it the problem for streaming? How can I achieve
> ogg streaming?

Yes.  In your case I think the easiest way to do streaming is to pass
in a seek callback of 'NULL'.  Vorbisfile will detect that seeking
isn't possible and treat the file as a progressive stream.

Monty
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.