Documentation
¶
Index ¶
- type Opt
- type Profile
- func (profile *Profile) CreateAudioProfile(ctx context.Context, req schema.AudioProfileMeta) (_ *schema.AudioProfile, err error)
- func (profile *Profile) DeleteAudioProfile(ctx context.Context, uuid uuid.UUID) (_ *schema.AudioProfile, err error)
- func (profile *Profile) GetAudioProfile(ctx context.Context, uuid uuid.UUID) (_ *schema.AudioProfile, err error)
- func (profile *Profile) GetCodec(ctx context.Context, name string, req schema.CodecGetRequest) (_ *schema.Codec, err error)
- func (profile *Profile) GetFormat(ctx context.Context, name string) (_ *schema.Format, err error)
- func (profile *Profile) ListChannelLayouts(ctx context.Context, req schema.ChannelLayoutListRequest) (_ schema.ChannelLayoutList, err error)
- func (profile *Profile) ListCodecs(ctx context.Context, req schema.CodecListRequest) (_ *schema.CodecList, err error)
- func (profile *Profile) ListDevices(ctx context.Context, req schema.DeviceListRequest) (_ schema.DeviceList, err error)
- func (profile *Profile) ListFormats(ctx context.Context, req schema.FormatListRequest) (_ *schema.FormatList, err error)
- func (profile *Profile) ListPixelFormats(ctx context.Context, req schema.PixelFormatListRequest) (_ schema.PixelFormatList, err error)
- func (profile *Profile) ListSampleFormats(ctx context.Context, req schema.SampleFormatListRequest) (_ schema.SampleFormatList, err error)
- func (profile *Profile) Run(ctx context.Context, logger *slog.Logger) error
- func (profile *Profile) UpdateAudioProfile(ctx context.Context, uuid uuid.UUID, meta schema.AudioProfileMeta) (_ *schema.AudioProfile, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Opt ¶
type Opt func(*opt) error
Opt is a functional option for filer manager configuration.
func WithSchema ¶
WithSchema sets the database schema used for profile persistence
func WithTracer ¶
WithTracer sets the tracer used for tracing operations.
type Profile ¶
func (*Profile) CreateAudioProfile ¶
func (profile *Profile) CreateAudioProfile(ctx context.Context, req schema.AudioProfileMeta) (_ *schema.AudioProfile, err error)
func (*Profile) DeleteAudioProfile ¶
func (*Profile) GetAudioProfile ¶
func (*Profile) ListChannelLayouts ¶
func (profile *Profile) ListChannelLayouts(ctx context.Context, req schema.ChannelLayoutListRequest) (_ schema.ChannelLayoutList, err error)
ListChannelLayouts returns standard FFmpeg channel layouts.
func (*Profile) ListCodecs ¶
func (*Profile) ListDevices ¶
func (profile *Profile) ListDevices(ctx context.Context, req schema.DeviceListRequest) (_ schema.DeviceList, err error)
ListDevices returns all devices available for the registered input/output audio/video device formats (e.g. avfoundation, alsa, pulse).
func (*Profile) ListFormats ¶
func (profile *Profile) ListFormats(ctx context.Context, req schema.FormatListRequest) (_ *schema.FormatList, err error)
func (*Profile) ListPixelFormats ¶
func (profile *Profile) ListPixelFormats(ctx context.Context, req schema.PixelFormatListRequest) (_ schema.PixelFormatList, err error)
ListPixelFormats returns all supported pixel formats.
func (*Profile) ListSampleFormats ¶
func (profile *Profile) ListSampleFormats(ctx context.Context, req schema.SampleFormatListRequest) (_ schema.SampleFormatList, err error)
ListSampleFormats returns all supported sample formats.
func (*Profile) UpdateAudioProfile ¶
func (profile *Profile) UpdateAudioProfile(ctx context.Context, uuid uuid.UUID, meta schema.AudioProfileMeta) (_ *schema.AudioProfile, err error)
Click to show internal directories.
Click to hide internal directories.