Documentation ¶
Index ¶
Constants ¶
View Source
const ( Number AmfType = iota Boolean String Object MovieClip Null Undefined Reference MixedArray = 8 EndOfObject Array Date LongString Unsupported Recordset XML TypedObject AMF3data )
View Source
const ( WIDTH = "width" HEIGHT = "height" DURATION = "duration" VIDEODATARATE = "videodatarate" FRAMERATE = "framerate" VIDEOCODECID = "videocodecid" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Amf ¶
type Amf struct {
// contains filtered or unexported fields
}
func CreateAmf ¶
func CreateAmf(name string, parameters Parameters) *Amf
func (*Amf) ReadParams ¶
func (a *Amf) ReadParams(readStream *io.ReadStream) error
type Decipher ¶
type Decipher struct {
// contains filtered or unexported fields
}
func NewDecipher ¶
func NewDecipher() *Decipher
func (*Decipher) ReadHeader ¶
func (*Decipher) ReadZeroTag ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
func (*Encoder) WriteHeaderAndZeroTag ¶
func (*Encoder) WriteSEIAndIDR ¶
func (*Encoder) WriteScript ¶
type Header ¶
type Header struct {
// contains filtered or unexported fields
}
func ParseHeader ¶
func ParseHeader(reader *io.ReadStream) (*Header, error)
type Parameters ¶
func (Parameters) Add ¶
func (ps Parameters) Add(p *Parameter)
Click to show internal directories.
Click to hide internal directories.