container

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2020 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// CustomDataKeyManifest is used as the base key to store the manifestID in an encoding
	CustomDataKeyManifest = "manifest"
	// CustomDataKeyManifestID is the key used to store the manifestID in an encoding
	CustomDataKeyManifestID = "id"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Assembler

type Assembler interface {
	Assemble(AssemblerCfg) error
}

Assembler is responsible for creating all resources for a given container output

type AssemblerCfg

type AssemblerCfg struct {
	EncID                            string
	OutputID                         string
	DestPath                         string
	OutputFilename                   string
	AudCfgID, VidCfgID               string
	AudMuxingStream, VidMuxingStream model.MuxingStream
	ManifestID                       string
	ManifestMasterPath               string
	SegDuration                      uint
}

AssemblerCfg holds properties any individual assembler might need when creating resources

type CMAFAssembler

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

CMAFAssembler is an assembler that creates HLS outputs based on a cfg

func NewCMAFAssembler

func NewCMAFAssembler(api CMAFContainerAPI) *CMAFAssembler

NewCMAFAssembler creates and returns an CMAFAssembler

func (*CMAFAssembler) Assemble

func (a *CMAFAssembler) Assemble(cfg AssemblerCfg) error

Assemble creates HLS outputs

type CMAFContainerAPI

type CMAFContainerAPI struct {
	HLSAudioMedia HLSAudioMediaAPI
	CMAFMuxing    CMAFMuxingAPI
	HLSStreams    HLSStreamsAPI
}

CMAFContainerAPI holds underlying api interfaces for CMAF outputs

type CMAFMuxingAPI

type CMAFMuxingAPI interface {
	Create(string, model.CmafMuxing) (*model.CmafMuxing, error)
}

CMAFMuxingAPI contains methods for managing CMAF muxing objects

type CMAFStatusEnricher

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

CMAFStatusEnricher is responsible for adding output HLS info to a job status

func NewCMAFStatusEnricher

func NewCMAFStatusEnricher(api *bitmovin.BitmovinApi) *CMAFStatusEnricher

NewHLSStatusEnricher creates and returns an CMAFStatusEnricher

func (*CMAFStatusEnricher) Enrich

Enrich populates information about the CMAF output if it exists

type HLSAssembler

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

HLSAssembler is an assembler that creates HLS outputs based on a cfg

func NewHLSAssembler

func NewHLSAssembler(api HLSContainerAPI) *HLSAssembler

NewHLSAssembler creates and returns an HLSAssembler

func (*HLSAssembler) Assemble

func (a *HLSAssembler) Assemble(cfg AssemblerCfg) error

Assemble creates HLS outputs

type HLSAudioMediaAPI

type HLSAudioMediaAPI interface {
	Create(string, model.AudioMediaInfo) (*model.AudioMediaInfo, error)
}

HLSAudioMediaAPI contains methods for managing HLS Media Audio objects

type HLSContainerAPI

type HLSContainerAPI struct {
	HLSAudioMedia HLSAudioMediaAPI
	TSMuxing      TSMuxingAPI
	HLSStreams    HLSStreamsAPI
}

HLSContainerAPI holds underlying api interfaces for HLS outputs

type HLSStatusEnricher

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

HLSStatusEnricher is responsible for adding output HLS info to a job status

func NewHLSStatusEnricher

func NewHLSStatusEnricher(api *bitmovin.BitmovinApi) *HLSStatusEnricher

NewHLSStatusEnricher creates and returns an HLSStatusEnricher

func (*HLSStatusEnricher) Enrich

Enrich populates information about the HLS output if it exists

type HLSStreamsAPI

type HLSStreamsAPI interface {
	Create(string, model.StreamInfo) (*model.StreamInfo, error)
}

HLSStreamsAPI contains methods for managing HLS stream objects

type MOVAssembler

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

MOVAssembler is an assembler that creates MOV outputs based on a cfg

func NewMOVAssembler

func NewMOVAssembler(api *bitmovin.BitmovinApi) *MOVAssembler

NewMOVAssembler creates and returns an MOVAssembler

func (*MOVAssembler) Assemble

func (a *MOVAssembler) Assemble(cfg AssemblerCfg) error

Assemble creates MOV outputs

type MOVStatusEnricher

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

MOVStatusEnricher is responsible for adding MOV output info to a job status

func NewMOVStatusEnricher

func NewMOVStatusEnricher(api *bitmovin.BitmovinApi) *MOVStatusEnricher

NewMOVStatusEnricher creates and returns an MOVStatusEnricher

func (*MOVStatusEnricher) Enrich

Enrich populates information about MOV outputs if they exist

type MP4Assembler

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

MP4Assembler is an assembler that creates MP4 outputs based on a cfg

func NewMP4Assembler

func NewMP4Assembler(api *bitmovin.BitmovinApi) *MP4Assembler

NewMP4Assembler creates and returns an MP4Assembler

func (*MP4Assembler) Assemble

func (a *MP4Assembler) Assemble(cfg AssemblerCfg) error

Assemble creates MP4 outputs

type MP4StatusEnricher

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

MP4StatusEnricher is responsible for adding MP4 output info to a job status

func NewMP4StatusEnricher

func NewMP4StatusEnricher(api *bitmovin.BitmovinApi) *MP4StatusEnricher

NewMP4StatusEnricher creates and returns an MP4StatusEnricher

func (*MP4StatusEnricher) Enrich

Enrich populates information about MP4 outputs if they exist

type ProgressiveWebMAssembler

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

ProgressiveWebMAssembler is an assembler that creates ProgressiveWebM outputs based on a cfg

func NewProgressiveWebMAssembler

func NewProgressiveWebMAssembler(api *bitmovin.BitmovinApi) *ProgressiveWebMAssembler

NewProgressiveWebMAssembler creates and returns an ProgressiveWebMAssembler

func (*ProgressiveWebMAssembler) Assemble

func (a *ProgressiveWebMAssembler) Assemble(cfg AssemblerCfg) error

Assemble creates ProgressiveWebM outputs

type ProgressiveWebMStatusEnricher

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

ProgressiveWebMStatusEnricher is responsible for adding ProgressiveWebM output info to a job status

func NewProgressiveWebMStatusEnricher

func NewProgressiveWebMStatusEnricher(api *bitmovin.BitmovinApi) *ProgressiveWebMStatusEnricher

NewProgressiveWebMStatusEnricher creates and returns an ProgressiveWebMStatusEnricher

func (*ProgressiveWebMStatusEnricher) Enrich

Enrich populates information about ProgressiveWebM outputs if they exist

type StatusEnricher

type StatusEnricher interface {
	Enrich(provider.JobStatus) (provider.JobStatus, error)
}

StatusEnricher enriches status information for output containers

type TSMuxingAPI

type TSMuxingAPI interface {
	Create(string, model.TsMuxing) (*model.TsMuxing, error)
}

TSMuxingAPI contains methods for managing TS muxing objects

Jump to

Keyboard shortcuts

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