deovr

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2020 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeoVR

type DeoVR struct {
	Scenes []*Scene `json:"scenes"`
	// contains filtered or unexported fields
}

func (*DeoVR) GetVideoPath

func (d *DeoVR) GetVideoPath(sceneName string, fileName string) (string, error)

func (*DeoVR) GetVideoThumbnailPath

func (d *DeoVR) GetVideoThumbnailPath(sceneName string, fileName string) (string, error)

func (*DeoVR) LoadScene

func (d *DeoVR) LoadScene(name string, directory string, host string) error

type Encoding

type Encoding struct {
	Name         string         `json:"name"`
	VideoSources []*VideoSource `json:"videoSources"`
}

type Scene

type Scene struct {
	Name string   `json:"name"`
	List []*Video `json:"list"`
	// contains filtered or unexported fields
}

type Video

type Video struct {
	ID           int         `json:"id,omitempty"`
	Title        string      `json:"title"`
	FPS          int         `json:"fps"`
	Is3D         bool        `json:"is3d"`
	ViewAngle    int         `json:"viewAngle,omitempty"`
	StereoMode   string      `json:"stereoMode,omitempty"`
	VideoLength  int         `json:"videoLength"`
	ThumbnailURL string      `json:"thumbnailUrl"`
	Encodings    []*Encoding `json:"encodings"`
}

type VideoSource

type VideoSource struct {
	Resolution int    `json:"resolution"`
	Height     int    `json:"height"`
	Width      int    `json:"width"`
	URL        string `json:"url"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL