remove redundant definitions (#4793)

This commit is contained in:
Alessandro Ros 2025-07-27 12:01:52 +02:00 committed by GitHub
parent b5c847bad6
commit b59c37ad4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 328 additions and 245 deletions

View file

@ -18,10 +18,16 @@ import (
"github.com/bluenviron/mediamtx/internal/stream"
)
type parent interface {
logger.Writer
SetReady(req defs.PathSourceStaticSetReadyReq) defs.PathSourceStaticSetReadyRes
SetNotReady(req defs.PathSourceStaticSetNotReadyReq)
}
// Source is a WebRTC static source.
type Source struct {
ReadTimeout conf.Duration
Parent defs.StaticSourceParent
Parent parent
}
// Log implements logger.Writer.