accept durations expressed as days (i.e. '1d') (#4094)

This commit is contained in:
Alessandro Ros 2025-01-02 12:44:15 +01:00 committed by GitHub
parent 8cbbbc05c3
commit b49acb1e00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
53 changed files with 378 additions and 257 deletions

View file

@ -20,7 +20,7 @@ import (
// Source is a WebRTC static source.
type Source struct {
ReadTimeout conf.StringDuration
ReadTimeout conf.Duration
Parent defs.StaticSourceParent
}