Supported Media for Google Cast

Google Cast supports the following media facilities and types. Some of these require additional coding or the Media Player Library. See Receiver Applications for more information about developing your receiver application to support these media types.

Default supported types

All Google Cast receiver applications support the following.

Image formats

  • BMP
  • GIF
  • JPEG
  • PNG
  • WEBP

Media container formats

  • AAC
  • MP3
  • MP4
  • WAV
  • WebM

Delivery methods and adaptive streaming protocols

These are available through use of the Media Player Library, or you may use your own player library.

    • PlayReady (Security Level 2000)
    • Widevine (Level 1)
  • SmoothStreaming
    • PlayReady (Security Level 2000)
  • HTTP Live Streaming (HLS)
    • AES-128 encryption
  • Progressive download without adaptive switching (using the HTML media element only)

With adaptive bitrate streaming protocols, you must implement CORS. To implement an encrypted protocol, including DRM, you should develop a Custom Receiver. See DRM support for more information.

Video codecs

  • H.264 High Profile Level 4.1 (the processor can decode up to 720/60 or 1080/30)
  • VP8

Audio codecs

  • HE-AAC
  • AAC LC
  • MP3
  • Vorbis
  • WAV (LPCM)

Audio passthrough

  • AC-3 (Dolby® Digital™ audio technology)
  • E-AC-3 (EC-3, Dolby® Digital Plus™ audio technology)

The Media Player Library (MPL) supports E-AC-3 passthrough. If you're not using MPL, you can check the codec support prior to creating the source buffer by using the MediaSource.isTypeSupported() method and passing mp4a.a5 for AC-3 or mp4a.a6 for E-AC-3.

Dolby, Dolby Digital, and Dolby Digital Plus are trademarks of Dolby Laboratories, Inc.

Subtitles & closed captions

Your subtitle resources must implement CORS.