[Icecast] ices2 metadata update causes gaps

Michael Smith msmith at xiph.org
Mon Sep 26 15:30:11 UTC 2005


> Reading the code...
>
>  * If we're resampling, stop and restart the resampler. (Probably not a
>    good move if only the metadata has changed.)

Neccesary - included in this is flushing out buffers from the
resampler, so we need this in order to flush the encoder.

>
>  * Shut down the encoder (and flush any pending buffers).
>
>  * Reset the encoder.
>
>  * Update any metadata.
>
>  * Restart the encoder from scratch.

Looks right.

>
> Assuming this is correct, the next question that arises is "Is Vorbis
> when used this way truly gapless?"

Yes, it is.

Mike



More information about the Icecast mailing list