Lightweight RTSP/RTP streaming media server written in Javascript
GNU General Public License v3.0
106
stars
21
forks
source link
Hi , I am trying to implement a live streaming app using webRTC and this library , but I need to log events when the rtsp streaming starts . Can you give an example how to use clientServerHooks ? I tried with the example but its not working #20
const server = new RtspServer({ serverPort: 5554, clientPort: 6554, rtpPortStart: 10000, rtpPortCount: 10000, clientServerHooks: function clientClose () { console.log(
A client has disconnected
); } })