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
Click to show internal directories.
Click to hide internal directories.