<div dir="ltr">Hi All,<div><br></div><div>I'm relatively new to Ogg and Vorbis and I've hit a pretty puzzling issue, and I'm wondering if a veteran could help me out. </div><div><br></div><div>I'm attempting to decode a chained live Ogg Vorbis stream. The primary issue is that the source does not exactly follow validation (I have no control of this). The stream switches from a prerecorded segment, to a live segment, back to a prerecorded segment. I believe the live segment is missing a B.O.S. packet, which is creating some unintended effects. The audio ends up playing, but it is very distorted until it switches back to a prerecorded segment. </div><div><br></div><div>I've uploaded a test of the chain here: <a href="https://s3.amazonaws.com/teamalphaservices-test/b1-Live-b2.ogg">https://s3.amazonaws.com/teamalphaservices-test/b1-Live-b2.ogg</a> </div><div><br></div><div>It plays perfectly in Google chrome, but when attempting to use my own decoder, it has strange distortion when playing the live part. </div><div><br></div><div>Here's a link to a Github Gist of the decoder I'm using: <a href="https://gist.github.com/DrakeWitt/3634299ce4363d26d16c34be229a350f">https://gist.github.com/DrakeWitt/3634299ce4363d26d16c34be229a350f</a></div><div><br></div><div>What's the best way to modify my logic to compensate for the odd stream?</div><div><br></div><div>Thanks!</div></div>