VrVideoView.Options

public static class VrVideoView.Options

Configure the VrVideoView's parameters for loading videos.

Constants

int FORMAT_DASH Indicates that the video uses the MPEG-DASH format.
int FORMAT_DEFAULT Indicates that the video is in a standalone, non-streaming format using container formats such as mp4, webm, ogg, aac.
int FORMAT_HLS Indicates that the video uses the HTTP Live Streaming (HLS) format.
int TYPE_MONO Each video frame is a monocular equirectangular panorama.
int TYPE_STEREO_OVER_UNDER Each video frame contains two vertically-stacked equirectangular panoramas.

Fields

public int inputFormat Should be one of the FORMAT_* constants.
public int inputType Should be one of the TYPE_* constants.

Public Constructors

Inherited Methods

Constants

public static final int FORMAT_DASH

Indicates that the video uses the MPEG-DASH format.

Visit this page for more details on what is supported.

This is only compatible with the loadVideo(Uri, VrVideoView.Options) function.

Constant Value: 3

public static final int FORMAT_DEFAULT

Indicates that the video is in a standalone, non-streaming format using container formats such as mp4, webm, ogg, aac.

Visit this page for more details on what is supported.

Constant Value: 1

public static final int FORMAT_HLS

Indicates that the video uses the HTTP Live Streaming (HLS) format.

Visit this page for more details on what is supported.

This is only compatible with the loadVideo(Uri, VrVideoView.Options) function.

Constant Value: 2

public static final int TYPE_MONO

Each video frame is a monocular equirectangular panorama.

Each frame image is expected to cover 360 degrees along its horizontal axis.

Constant Value: 1

public static final int TYPE_STEREO_OVER_UNDER

Each video frame contains two vertically-stacked equirectangular panoramas. The top part of the frame contains pixels for the left eye, while the bottom part of the frame contains pixels for the right eye.

Constant Value: 2

Fields

public int inputFormat

Should be one of the FORMAT_* constants. {#FORMAT_DEFAULT} by default.

public int inputType

Should be one of the TYPE_* constants. {#TYPE_MONO} by default.

Public Constructors

public VrVideoView.Options ()