audio/oggaudio/ogg is the media type for audio in the Ogg container, commonly wrapping the Vorbis or Opus codec. As a royalty-free open format, it is widely used in the web, gaming, and open-source ecosystems.
Ogg is merely a container, and the actual audio depends on the inner codec (Vorbis, Opus, FLAC). To state the codec you can add a codecs parameter like `Content-Type: audio/ogg; codecs=opus`, helping browsers decide support in advance. Opus in particular is low-latency and highly efficient, the standard codec for WebRTC voice calls and real-time audio.
Codec support varies by browser, so a single format cannot cover every environment. It is therefore safer to list multiple `<source>` elements inside `<audio>` (e.g. Opus as audio/ogg plus MP3 as audio/mpeg) and let the browser pick the first playable one. Being an audio file, Range-request support (206) for seeking matters here too.
e.g. Content-Type: audio/ogg