Golang
You can read a stream from the server by using the Go programming language and the following libraries:
All these power MediaMTX itself. In the repositories of these projects there are several examples on how to connect to a server and read data.