Open ericxtang opened 7 years ago
Right now there is no way to close the RTMP server manually. The Golang http package is an example to follow here - https://golang.org/pkg/net/http/#Server.Close
@nareix I'm happy to make a PR - keep a reference to the listener in rtmp.Server{}, and add a Close() function to call listener.Close(). Does that sound reasonable?
Right now there is no way to close the RTMP server manually. The Golang http package is an example to follow here - https://golang.org/pkg/net/http/#Server.Close
@nareix I'm happy to make a PR - keep a reference to the listener in rtmp.Server{}, and add a Close() function to call listener.Close(). Does that sound reasonable?