-
Notifications
You must be signed in to change notification settings - Fork 24
Description
It seems from observation, and from looking at the PacketWriter source that it will only flush pages when absolutely necessary, as per the constraints of the Ogg spec. There is also no (simple) means to inspect the state, controlling page-flushes from the outside.
For I.E. Vorbis, this can lead to multiple seconds of data per-page, which is a tad big for efficient seeking by a demuxer. (May have to decode-and-skip many packets to find the first packet with desired timestamp).
I'd like to see this tuneable somehow, either through making page-fill visible to the outside, letting the outside opportunistically control flushing, or through defining "target page-size" parameters (I.E. sum size of segments, or a limiting the delta absgp from previous page).