com.google.android.exoplayer2.video.spherical.CameraMotionRenderer Java Examples

The following examples show how to use com.google.android.exoplayer2.video.spherical.CameraMotionRenderer. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DefaultRenderersFactory.java    From MediaSDK with Apache License 2.0 2 votes vote down vote up
/**
 * Builds camera motion renderers for use by the player.
 *
 * @param context The {@link Context} associated with the player.
 * @param extensionRendererMode The extension renderer mode.
 * @param out An array to which the built renderers should be appended.
 */
protected void buildCameraMotionRenderers(
    Context context, @ExtensionRendererMode int extensionRendererMode, ArrayList<Renderer> out) {
  out.add(new CameraMotionRenderer());
}
 
Example #2
Source File: DefaultRenderersFactory.java    From Telegram-FOSS with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Builds camera motion renderers for use by the player.
 *
 * @param context The {@link Context} associated with the player.
 * @param extensionRendererMode The extension renderer mode.
 * @param out An array to which the built renderers should be appended.
 */
protected void buildCameraMotionRenderers(
    Context context, @ExtensionRendererMode int extensionRendererMode, ArrayList<Renderer> out) {
  out.add(new CameraMotionRenderer());
}
 
Example #3
Source File: DefaultRenderersFactory.java    From Telegram with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Builds camera motion renderers for use by the player.
 *
 * @param context The {@link Context} associated with the player.
 * @param extensionRendererMode The extension renderer mode.
 * @param out An array to which the built renderers should be appended.
 */
protected void buildCameraMotionRenderers(
    Context context, @ExtensionRendererMode int extensionRendererMode, ArrayList<Renderer> out) {
  out.add(new CameraMotionRenderer());
}