chriswiggins / rtsp-streaming-server

Lightweight RTSP/RTP streaming media server written in Javascript
GNU General Public License v3.0
107 stars 21 forks source link

Feature: Debugger hook #28

Open RobotnickIsrael opened 3 years ago

RobotnickIsrael commented 3 years ago

Right now there are a lot of console.log / console.error messages + debug package (with no details how to activate debugging mode in rtsp-streaming-server.

Many projects have central logging, like log stash and others, where you need to push these logging messages. (Since console isn't easy to reach and doesn't show all messages. The problem can be on the source feed maker, on the source reader, on the rtsp server... good chances they don't sit together). Ability to pass a hook that will be executed when logging is needed - will be cool.