add server-h264-from-disk example (#719) (#727)

This commit is contained in:
Alessandro Ros
2025-03-23 16:53:54 +01:00
committed by GitHub
parent 8c6495c33b
commit e46ae59920
10 changed files with 278 additions and 35 deletions

View File

@@ -14,10 +14,10 @@ func main() {
// allocate the client.
// give client access to the server.
c := &client{s: s}
c := &client{server: s}
c.initialize()
// start server and wait until a fatal error
log.Printf("server is ready")
s.s.StartAndWait()
log.Printf("server is ready on %s", s.server.RTSPAddress)
s.server.StartAndWait()
}