diff --git a/README.md b/README.md index 10ff9de8..71cbe3ff 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,11 @@ _rtsp-simple-server_ is a simple, ready-to-use and zero-dependency RTSP server and RTSP proxy, a software that allows multiple users to publish and read live video and audio streams over time. RTSP, RTP and RTCP are standardized protocol that describe how to perform these operations with the help of a server, that is contacted by both readers and publishers in order to negotiate a streaming protocol. The server is then responsible of relaying the publisher streams to the readers. Features: -* Read and publish streams via UDP and TCP +* Read and publish live streams via UDP and TCP * Each stream can have multiple video and audio tracks, encoded in any format -* Pull and serve streams from other RTSP servers, always or on-demand (RTSP proxy) * Publish multiple streams at once, each in a separate path, that can be read by multiple users -* Supports authentication +* Pull and serve streams from other RTSP servers, always or on-demand (RTSP proxy) +* Make streams secure with usernames and passwords (authentication) * Run custom commands when clients connect, disconnect, read or publish streams (linux only) * Compatible with Linux, Windows and Mac, does not require any dependency or interpreter, it's a single executable diff --git a/path.go b/path.go index db3db648..cf07be9d 100644 --- a/path.go +++ b/path.go @@ -114,8 +114,9 @@ func (pa *path) describe(client *client) { // publisher not found if pa.publisher == nil { + // on demand command is available: put the client on hold if pa.confp.RunOnDemand != "" { - // start on demand command if needed; put the client on hold + // start on demand command if needed if pa.onDemandCmd == nil { pa.p.log("starting on demand command")