Versions in this module Expand all Collapse all v3 v3.0.5 Apr 16, 2023 v3.0.4 Mar 16, 2023 Changes in this version + func AddLabel(img *image.RGBA, x, y int, label string) + func TimeFormat(d time.Duration) string + type Audio struct + Duration time.Duration + Samples *[]int16 + type Meta struct + UserName string + type Options struct + Dir string + Fps float64 + Frequency int + Game string + ImageCompressionLevel int + Name string + Vsync bool + Zip bool + type Recording struct + func NewRecording(meta Meta, log *logger.Logger, opts Options) *Recording + func (r *Recording) Enabled() bool + func (r *Recording) Set(enable bool, user string) + func (r *Recording) Start() + func (r *Recording) Stop() (err error) + func (r *Recording) WriteAudio(audio Audio) + func (r *Recording) WriteVideo(frame Video) + type Video struct + Duration time.Duration + Image image.Image