Capítulo 267 de 988

Chapter 267: getEncodableAudioCodecs()

Core Idea

_Part of the @remotion/web-renderer package.

Key Concepts

  • Arguments
  • container
  • options?
  • audioBitrate?
  • Return value
  • See also

Code Examples

const codecs = await getEncodableAudioCodecs('mp4');
console.log(codecs); // e.g. ['aac', 'opus']
  • What it demonstrates: Usage pattern for getEncodableAudioCodecs() from the official docs.

Key Takeaways

  1. Understand arguments when working with getEncodableAudioCodecs().
  2. Understand container when working with getEncodableAudioCodecs().
  3. Understand options? when working with getEncodableAudioCodecs().
  4. Understand audiobitrate? when working with getEncodableAudioCodecs().
  5. Understand return value when working with getEncodableAudioCodecs().

Connects To

  • Angular: related page in the Framework & Renderer Integrations section.
  • Figma: related page in the Framework & Renderer Integrations section.
  • use Gsap Timeline: related page in the Framework & Renderer Integrations section.