What is MIME type "audio/usac"?

A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.

The MIME type audio/usac relates to the Unified Speech and Audio Coding standard. This codec is built to encode both speech and music efficiently, even at low bit rates.

Its main features include:

Files using this MIME type often come with extensions like LOAS and XHE.

The USAC standard is designed to work well in low latency environments while maintaining robust audio fidelity. Its modern encoding techniques make it a strong choice for applications where both quality and efficient resource use are critical.

Additional details on audio codecs can be found at sources such as the International Telecommunication Union (ITU).

Associated file extensions

Usage Examples

HTTP Header

When serving content with this MIME type, set the Content-Type header:


    Content-Type: audio/usac    
  

HTML

In HTML, you can specify the MIME type in various elements:


    <a href="file.dat" type="audio/usac">Download file</a>    
  

Server-side (Node.js)

Setting the Content-Type header in Node.js:


    const http = require('http');    
    
    http.createServer((req, res) => {    
      res.setHeader('Content-Type', 'audio/usac');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

What is the purpose of the audio/usac MIME type?

The audio/usac MIME type identifies files encoded with the Unified Speech and Audio Coding (USAC) standard. This format is designed to efficiently compress both speech and music, making it ideal for low-bitrate streaming applications using extensions like .loas and .xhe.

Is audio/usac related to xHE-AAC?

Yes, USAC is the underlying coding technology for xHE-AAC (Extended High-Efficiency AAC). While audio/usac refers to the specific stream type, xHE-AAC is the profile often used by major streaming services (like Netflix) to deliver high-quality audio over variable network speeds.

How do I configure Apache to serve .loas or .xhe files?

To ensure your Apache server sends the correct headers, add the following line to your .htaccess file or httpd.conf: AddType audio/usac .loas .xhe. This prevents browsers from misinterpreting the file as generic binary data.

Which browsers support audio/usac playback?

Native support is strongest on mobile platforms, particularly Android devices which include system-level decoders for USAC/xHE-AAC. Desktop browser support is limited; developers often encapsulate USAC audio inside MP4 containers (using audio/mp4) rather than serving raw .loas files.

How do I add audio/usac support to Nginx?

Edit your mime.types file (typically found in /etc/nginx/) and include the directive audio/usac loas xhe; inside the types block. After saving, restart or reload Nginx to apply the configuration.

Why should I use USAC instead of MP3?

USAC provides significantly higher audio quality at lower bitrates compared to older formats like audio/mpeg. It specifically excels at handling mixed content (switching between speech and music), making it superior for digital radio and adaptive streaming.

What does a 'decoding error' mean for audio/usac files?

This error often occurs if the client device does not support the MPEG-D USAC standard or if the file header is corrupt. Since this is a specialized high-efficiency codec, ensure you provide a fallback format (like AAC or MP3) for users on older devices or incompatible browsers.

General FAQ

What is a MIME type?

A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.

MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.

MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.

How do I find the MIME type for a file?

You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.

Why are multiple MIME types listed for one extension?

Different applications and historical conventions may use alternative MIME identifiers for the same kind of file. Showing them all helps ensure compatibility across systems.