1
0
Fork 0
forked from External/mediamtx

allow changing default path settings; bump API in order to allow so (#2455)

This commit is contained in:
Alessandro Ros 2023-10-07 23:32:15 +02:00 committed by GitHub
parent 3c4039b81f
commit 9a01ab7fd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
44 changed files with 1656 additions and 1060 deletions

View file

@ -66,7 +66,7 @@ func (s *udpSource) Log(level logger.Level, format string, args ...interface{})
}
// run implements sourceStaticImpl.
func (s *udpSource) run(ctx context.Context, cnf *conf.PathConf, _ chan *conf.PathConf) error {
func (s *udpSource) run(ctx context.Context, cnf *conf.Path, _ chan *conf.Path) error {
s.Log(logger.Debug, "connecting")
hostPort := cnf.Source[len("udp://"):]