package generator type FrameGenerator interface { GenerateFrame(dest []byte, frameIndex int) error Close() error }