Fixes and improvements
- General: avoid crash in case of invalid H264 SPS (#590)
- General: add log messages when runOnPublish, runOnConnect, runOnRead are started or stopped
- General: print log messages about custom commands closing after they are closed
- General: avoid deadlock when a runOnPublish command is reading and the publisher times out (#595) (#495)
- General: avoid deadlock when a runOnDemand command is used and a path is deleted
- General: close custom commands with SIGINT again (#495)
- General: return error in case of non-existent parameters in the configuration file
- General: use crypto/rand instead of math/rand to avoid port conflicts and security issues
- RTSP: do not allow a session to setup UDP tracks from different IPs
- RTSP: do not allow a reader to use the same UDP ports of another reader
- RTSP: do not allow a client to control a session created with a different IP
- RTMP: do not raise an error in case of metadata packets (#577)
- RTMP: run runOnRead command also with RTMP readers
- HLS source: avoid crash when proxing HLS (#558)
- API: support working with path configs that contains slashes (#581)
- API: decode durations from strings instead of numbers