transcoder

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const RequestTranscodeFail api.ResponseFlag = 0x2000

Variables

This section is empty.

Functions

func MustRegister

func MustRegister(typ string, transcoder TranscoderFactory)

func OnTranscoderPluginParsed added in v0.26.0

func OnTranscoderPluginParsed(data json.RawMessage) error

Types

type TranscoderFactory added in v0.26.0

type TranscoderFactory func(cfg map[string]interface{}) transcoder.Transcoder

func GetTranscoderFactory added in v0.26.0

func GetTranscoderFactory(typ string) TranscoderFactory

type TranscoderGoPlugin added in v0.26.0

type TranscoderGoPlugin struct {
	SrcPro string `json:"src_protocol,omitempty"`
	DstPro string `json:"dst_protocol,omitempty"`
	SoPath string `json:"so_path,omitempty"`
}

func (*TranscoderGoPlugin) CreateTranscoder added in v0.26.0

func (t *TranscoderGoPlugin) CreateTranscoder() error

func (*TranscoderGoPlugin) GetType added in v0.26.0

func (t *TranscoderGoPlugin) GetType() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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