Displaying 2 results from an estimated 2 matches for "useov_pcm_seek".
2018 Nov 03
2
Decode ogg file while downloading: what are the good practices?
Well, your " OggPlayer::release; OggPlayer::open; before OggPlayer::seek"
seems to work!
Thank you so much!
Also, I'll take a look at the Opus codec, thanks for the advice!
For your information, here was the problem in details: let's say I download
an audio file whose length is 300 seconds.
When, for example, 15 seconds of the file were downloaded, I called
OggPlayer::open().
2018 Nov 03
0
Decode ogg file while downloading: what are the good practices?
...n 2018-11-03 02:18 PM, Matthieu Regnauld wrote:
.
> When, for example, 15 seconds of the file were downloaded, I called
> OggPlayer::open().
> After that moment, even if the file was fully downloaded, I was able to
> seek in the file, but only between 0 and 15 seconds (whether I
> useov_pcm_seek() or even ov_raw_seek()).
That all seems consistent. Glad the work-around was helpful.
> That said, isn't there any function that allows to rebuild that seek table?
Nope. I don't recall anyone with this particular usecase in the past.
Players have tended to assume the resource is non...