Documentation
¶
Index ¶
- Constants
- type Assembler
- type AssemblerCfg
- type CMAFAssembler
- type CMAFContainerAPI
- type CMAFMuxingAPI
- type CMAFStatusEnricher
- type HLSAssembler
- type HLSAudioMediaAPI
- type HLSContainerAPI
- type HLSStatusEnricher
- type HLSStreamsAPI
- type MOVAssembler
- type MOVStatusEnricher
- type MP4Assembler
- type MP4StatusEnricher
- type ProgressiveWebMAssembler
- type ProgressiveWebMStatusEnricher
- type StatusEnricher
- type TSMuxingAPI
Constants ¶
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
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
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
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
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
type StatusEnricher ¶
StatusEnricher enriches status information for output containers