api: rename udpSource into mpegtsSource (#4842)
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run

This commit is contained in:
Alessandro Ros 2025-08-08 22:04:26 +02:00 committed by GitHub
parent 7feff1d1dc
commit 69d37cc6c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -594,7 +594,7 @@ components:
- rtspsSession - rtspsSession
- srtConn - srtConn
- srtSource - srtSource
- udpSource - mpegtsSource
- webRTCSession - webRTCSession
- webRTCSource - webRTCSource
id: id:

View file

@ -136,7 +136,7 @@ func (s *Source) runReader(nc net.Conn) error {
// APISourceDescribe implements StaticSource. // APISourceDescribe implements StaticSource.
func (*Source) APISourceDescribe() defs.APIPathSourceOrReader { func (*Source) APISourceDescribe() defs.APIPathSourceOrReader {
return defs.APIPathSourceOrReader{ return defs.APIPathSourceOrReader{
Type: "udpSource", Type: "mpegtsSource",
ID: "", ID: "",
} }
} }