media3/extensions/gvr/README.md
andrewlewis 5985f28e1b Add GVR extension and GvrBufferProcessor.
A GvrBufferProcessor can be passed to the player by overriding SimpleExoPlayer's
buildBufferProcessors method.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=148442114
2017-02-28 13:47:18 +00:00

664 B

ExoPlayer GVR Extension

Description

The GVR extension wraps the Google VR SDK for Android. It provides a GvrBufferProcessor, which uses GvrAudioSurround to provide binaural rendering of surround sound and ambisonic soundfields.

Instructions

If using SimpleExoPlayer, override SimpleExoPlayer.buildBufferProcessors to return a GvrBufferProcessor.

If constructing renderers directly, pass a GvrBufferProcessor to MediaCodecAudioRenderer's constructor.