
Reading the granule position of an Ogg page with continued packets
An Ogg page and an Opus packet are different boundaries. A packet can continue across pages, and a page’s granule position refers to completed audio data under the Ogg Opus rules. Treating every page as one independently decodable packet can misplace samples or label a legitimate continuation as an incomplete audio frame.
Read the guide


