bluenviron / mediamtx

Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
12.43k stars 1.54k forks source link

Problems to resolve dependency #3951

Closed neilyoung closed 2 weeks ago

neilyoung commented 2 weeks ago

Which version are you using?

1.9.3

Which operating system are you using?

Other (please describe)

Describe how to replicate the issue

My OS is MacOS 15.1 (24B83) on an M1 MBP

I'm trying to write a little MediaMTX app in go. While resolving the mediamtx dependency there is a problem:

go get github.com/bluenviron/mediamtx
go: downloading code.cloudfoundry.org/bytefmt v0.0.0
go: github.com/bluenviron/mediamtx imports
        github.com/bluenviron/mediamtx/internal/core imports
        github.com/bluenviron/mediamtx/internal/conf imports
        code.cloudfoundry.org/bytefmt: reading code.cloudfoundry.org/bytefmt/go.mod at revision v0.0.0: unknown revision v0.0.0

I could work around by resolving the bytefmt dependency manually:

go get code.cloudfoundry.org/bytefmt@latest
go: downloading code.cloudfoundry.org/bytefmt v0.17.0
go: added code.cloudfoundry.org/bytefmt v0.17.0

After that go get github.com/bluenviron/mediamtx passed OK

Server logs

No response

Network dump

No response