This Java module will log specific information to file and send it via UDP to remote server. Standard Wowza installation is logging all information to text files, as specified in [url removed, login to view] configuration file. It logs every action when it happen – when user start streaming, when user stop streaming etc.
This custom module will log all necessary information right after the user stops streaming. All variables which might be logged can be found in Wowza User Manual ([url removed, login to view]). Every log record should include:
- date and time and timezone when user started streaming (date, time, tz)
- total duration of stream (x-duration)
- User IP address (c-ip)
- Total data transferred (sc-bytes + cs-bytes)
- StreamID (c-client-id)
- StreamName (x-sname)
These records will be probably extended in the future. All records would be stored in local NoSQL database if possible. If not, it will be store in text file, rotated on daily basis.
The data will be also sent to specified server/port by UDP protocol. Every data record will include also secret shared token, preconfigured in XML file store in /%wowzahome%/conf/[url removed, login to view]
There are more modules we need to write or alter current so we prefer someone for longer cooperation.