configuration

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AAC

type AAC struct {
	// contains filtered or unexported fields
}

AAC is a configuration service for content using only this codec

func NewAAC

func NewAAC(api *bitmovin.BitmovinApi, repo db.PresetSummaryRepository) *AAC

NewAAC returns a service for managing AAC audio only configurations

func (*AAC) Create

func (c *AAC) Create(preset db.Preset) (db.PresetSummary, error)

Create will create a new AAC configuration based on a preset

func (*AAC) Delete

func (c *AAC) Delete(presetName string) error

Delete removes the audio configurations

func (*AAC) Get

func (c *AAC) Get(presetName string) (db.PresetSummary, error)

Get retrieves a stored db.PresetSummary by its name

type AV1

type AV1 struct {
	// contains filtered or unexported fields
}

AV1 is a configuration service for content in av1

func NewAV1

func NewAV1(api *bitmovin.BitmovinApi, repo db.PresetSummaryRepository) *AV1

NewAV1 returns a service for managing av1 configurations

func (*AV1) Create

func (c *AV1) Create(preset db.Preset) (db.PresetSummary, error)

Create will create a new AV1 configuration based on a preset

func (*AV1) Delete

func (c *AV1) Delete(presetName string) error

Delete removes the video configuration

func (*AV1) Get

func (c *AV1) Get(presetName string) (db.PresetSummary, error)

Get retrieves a stored db.PresetSummary by its name

type H264

type H264 struct {
	// contains filtered or unexported fields
}

H264 is a configuration service for content in h.264

func NewH264

func NewH264(api *bitmovin.BitmovinApi, repo db.PresetSummaryRepository) *H264

NewH264 returns a service for managing h.264 configurations

func (*H264) Create

func (c *H264) Create(preset db.Preset) (db.PresetSummary, error)

Create will create a new H264 configuration based on a preset

func (*H264) Delete

func (c *H264) Delete(presetName string) error

Delete removes the video configuration

func (*H264) Get

func (c *H264) Get(presetName string) (db.PresetSummary, error)

Get retrieves a stored db.PresetSummary by its name

type H264AAC

type H264AAC struct {
	// contains filtered or unexported fields
}

H264AAC is a configuration service for content in this codec pair

func NewH264AAC

func NewH264AAC(api *bitmovin.BitmovinApi, repo db.PresetSummaryRepository) *H264AAC

NewH264AAC returns a service for managing H264 / AAC configurations

func (*H264AAC) Create

func (c *H264AAC) Create(preset db.Preset) (db.PresetSummary, error)

Create will create a new H264AAC configuration based on a preset

func (*H264AAC) Delete

func (c *H264AAC) Delete(presetName string) error

Delete removes the audio / video configurations

func (*H264AAC) Get

func (c *H264AAC) Get(presetName string) (db.PresetSummary, error)

Get retrieves a stored db.PresetSummary by its name

type H265

type H265 struct {
	// contains filtered or unexported fields
}

H265 is a configuration service for content in h.265

func NewH265

func NewH265(api *bitmovin.BitmovinApi, repo db.PresetSummaryRepository) *H265

NewH265 returns a service for managing h.265 configurations

func (*H265) Create

func (c *H265) Create(preset db.Preset) (db.PresetSummary, error)

Create will create a new H265 configuration based on a preset

func (*H265) Delete

func (c *H265) Delete(presetName string) error

Delete removes the video configuration

func (*H265) Get

func (c *H265) Get(presetName string) (db.PresetSummary, error)

Get retrieves a stored db.PresetSummary by its name

type H265AAC

type H265AAC struct {
	// contains filtered or unexported fields
}

H265AAC is a configuration service for content in this codec pair

func NewH265AAC

func NewH265AAC(api *bitmovin.BitmovinApi, repo db.PresetSummaryRepository) *H265AAC

NewH265AAC returns a service for managing h.265 / AAC configurations

func (*H265AAC) Create

func (c *H265AAC) Create(preset db.Preset) (db.PresetSummary, error)

Create will create a new H265AAC configuration based on a preset

func (*H265AAC) Delete

func (c *H265AAC) Delete(presetName string) error

Delete removes the audio / video configurations

func (*H265AAC) Get

func (c *H265AAC) Get(presetName string) (db.PresetSummary, error)

Get retrieves a stored db.PresetSummary by its name

type Opus

type Opus struct {
	// contains filtered or unexported fields
}

Opus is a configuration service for content using only this codec

func NewOpus

func NewOpus(api *bitmovin.BitmovinApi, repo db.PresetSummaryRepository) *Opus

NewOpus returns a service for managing Opus audio only configurations

func (*Opus) Create

func (c *Opus) Create(preset db.Preset) (db.PresetSummary, error)

Create will create a new Opus configuration based on a preset

func (*Opus) Delete

func (c *Opus) Delete(presetName string) error

Delete removes the audio configurations

func (*Opus) Get

func (c *Opus) Get(presetName string) (db.PresetSummary, error)

Get retrieves a stored db.PresetSummary by its name

type Store

type Store interface {
	Create(preset db.Preset) (db.PresetSummary, error)
	Get(presetName string) (db.PresetSummary, error)
	Delete(presetName string) error
}

Store is the interface for any underlying codec config services

type VP8Vorbis

type VP8Vorbis struct {
	// contains filtered or unexported fields
}

VP8Vorbis is a configuration service for content in this codec pair

func NewVP8Vorbis

func NewVP8Vorbis(api *bitmovin.BitmovinApi, repo db.PresetSummaryRepository) *VP8Vorbis

NewVP8Vorbis returns a service for managing VP8 / Vorbis configurations

func (*VP8Vorbis) Create

func (c *VP8Vorbis) Create(preset db.Preset) (db.PresetSummary, error)

Create will create a new VP8 configuration based on a preset

func (*VP8Vorbis) Delete

func (c *VP8Vorbis) Delete(presetName string) error

Delete removes the audio / video configurations

func (*VP8Vorbis) Get

func (c *VP8Vorbis) Get(presetName string) (db.PresetSummary, error)

Get retrieves a stored db.PresetSummary by its name

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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