Versions in this module Expand all Collapse all v0 v0.0.9 May 8, 2024 v0.0.8 Apr 1, 2024 v0.0.7 Mar 13, 2024 v0.0.6 Mar 4, 2024 v0.0.5 Feb 27, 2024 v0.0.4 Feb 27, 2024 v0.0.3 Feb 27, 2024 v0.0.2 Feb 27, 2024 Changes in this version + type Audio struct + ChannelCount int + IsBigEndian bool + IsFloat bool + IsInterleaved bool + Latency time.Duration + SampleRate int + SampleSize int + type AudioConstraints struct + ChannelCount IntConstraint + IsBigEndian BoolConstraint + IsFloat BoolConstraint + IsInterleaved BoolConstraint + Latency DurationConstraint + SampleRate IntConstraint + SampleSize IntConstraint + type Bool BoolExact + func (b Bool) Compare(o bool) (float64, bool) + type BoolConstraint interface + Compare func(bool) (float64, bool) + Value func() bool + type BoolExact bool + func (b BoolExact) Compare(o bool) (float64, bool) + func (b BoolExact) String() string + func (b BoolExact) Value() bool + type Duration time.Duration + func (d Duration) Compare(a time.Duration) (float64, bool) + func (d Duration) String() string + func (d Duration) Value() (time.Duration, bool) + type DurationConstraint interface + Compare func(time.Duration) (float64, bool) + Value func() (time.Duration, bool) + type DurationExact time.Duration + func (d DurationExact) Compare(a time.Duration) (float64, bool) + func (d DurationExact) String() string + func (d DurationExact) Value() (time.Duration, bool) + type DurationOneOf []time.Duration + func (DurationOneOf) Value() (time.Duration, bool) + func (d DurationOneOf) Compare(a time.Duration) (float64, bool) + func (d DurationOneOf) String() string + type DurationRanged struct + Ideal time.Duration + Max time.Duration + Min time.Duration + func (DurationRanged) Value() (time.Duration, bool) + func (d DurationRanged) Compare(a time.Duration) (float64, bool) + func (d DurationRanged) String() string + type Float float32 + func (f Float) Compare(a float32) (float64, bool) + func (f Float) String() string + func (f Float) Value() (float32, bool) + type FloatConstraint interface + Compare func(float32) (float64, bool) + Value func() (float32, bool) + type FloatExact float32 + func (f FloatExact) Compare(a float32) (float64, bool) + func (f FloatExact) String() string + func (f FloatExact) Value() (float32, bool) + type FloatOneOf []float32 + func (FloatOneOf) Value() (float32, bool) + func (f FloatOneOf) Compare(a float32) (float64, bool) + func (f FloatOneOf) String() string + type FloatRanged struct + Ideal float32 + Max float32 + Min float32 + func (FloatRanged) Value() (float32, bool) + func (f FloatRanged) Compare(a float32) (float64, bool) + func (f FloatRanged) String() string + type FrameFormat frame.Format + func (f FrameFormat) Compare(a frame.Format) (float64, bool) + func (f FrameFormat) String() string + func (f FrameFormat) Value() (frame.Format, bool) + type FrameFormatConstraint interface + Compare func(frame.Format) (float64, bool) + Value func() (frame.Format, bool) + type FrameFormatExact frame.Format + func (f FrameFormatExact) Compare(a frame.Format) (float64, bool) + func (f FrameFormatExact) String() string + func (f FrameFormatExact) Value() (frame.Format, bool) + type FrameFormatOneOf []frame.Format + func (FrameFormatOneOf) Value() (frame.Format, bool) + func (f FrameFormatOneOf) Compare(a frame.Format) (float64, bool) + func (f FrameFormatOneOf) String() string + type Int int + func (i Int) Compare(a int) (float64, bool) + func (i Int) String() string + func (i Int) Value() (int, bool) + type IntConstraint interface + Compare func(int) (float64, bool) + Value func() (int, bool) + type IntExact int + func (i IntExact) Compare(a int) (float64, bool) + func (i IntExact) String() string + func (i IntExact) Value() (int, bool) + type IntOneOf []int + func (IntOneOf) Value() (int, bool) + func (i IntOneOf) Compare(a int) (float64, bool) + func (i IntOneOf) String() string + type IntRanged struct + Ideal int + Max int + Min int + func (IntRanged) Value() (int, bool) + func (i IntRanged) Compare(a int) (float64, bool) + func (i IntRanged) String() string + type Media struct + DeviceID string + func (m *Media) String() string + func (p *Media) Merge(o Media) + func (p *Media) MergeConstraints(o MediaConstraints) + type MediaConstraints struct + DeviceID StringConstraint + func (m *MediaConstraints) String() string + func (p *MediaConstraints) FitnessDistance(o Media) (float64, bool) + type String string + func (f String) Compare(a string) (float64, bool) + func (f String) String() string + func (f String) Value() (string, bool) + type StringConstraint interface + Compare func(string) (float64, bool) + Value func() (string, bool) + type StringExact string + func (f StringExact) Compare(a string) (float64, bool) + func (f StringExact) String() string + func (f StringExact) Value() (string, bool) + type StringOneOf []string + func (StringOneOf) Value() (string, bool) + func (f StringOneOf) Compare(a string) (float64, bool) + func (f StringOneOf) String() string + type Video struct + DiscardFramesOlderThan time.Duration + FrameFormat frame.Format + FrameRate float32 + Height int + Width int + type VideoConstraints struct + DiscardFramesOlderThan time.Duration + FrameFormat FrameFormatConstraint + FrameRate FloatConstraint + Height IntConstraint + Width IntConstraint