Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrMediaFormatNotSupported = errors.New("media format not supported")
)
View Source
var SupportedMediaFormat = []MediaFormat{ MediaFormatAvi, MediaFormatMkv, MediaFormatFlac, MediaFormatMp4, MediaFormatMp4a, MediaFormatMp3, MediaFormatOgv, MediaFormatOgm, MediaFormatOgg, MediaFormatOga, MediaFormatOpus, MediaFormatWebm, MediaFormatWav, }
Functions ¶
This section is empty.
Types ¶
type MediaFormat ¶
type MediaFormat int
const ( MediaFormatAvi MediaFormat = iota MediaFormatMkv MediaFormatFlac MediaFormatMp4 MediaFormatMp4a MediaFormatMp3 MediaFormatOgv MediaFormatOgm MediaFormatOgg MediaFormatOga MediaFormatOpus MediaFormatWebm MediaFormatWav )
func MediaFormatFrom ¶
func MediaFormatFrom(raw string) (MediaFormat, error)
func (MediaFormat) Extension ¶
func (d MediaFormat) Extension() string
func (MediaFormat) Name ¶
func (d MediaFormat) Name() string
Click to show internal directories.
Click to hide internal directories.