Thank you for reaching out in Wowza Community Forum.
You can configure the WebhookListener in Server.xml and add a Webhooks.json target (your Java app URL); Wowza will POST stream.started, stream.stopped and recording.* events. You would need to ensure that the target URL is reachable from the Wowza server.
However, there are no REST API Calls to get Stream Information like Codecs and resolution using REST API calls. We will create a feature request on your behalf to include this functionality in future release of Wowza Streaming Engine.
Hope that clarifies your doubt.
Best Regards,
Drumil Desai
Technical Support Engineer
Wowza | The solution you start with, the partner you scale with.
If you are up to writing a java module, the WSEs Java APIs will get you that info. A more custom solution would handle the unsupported event types, and could make this more specific to your use case. And make it easier to config/deploy, Can be banged out pretty quickly.
Another option is a custom solution developed by a consultant, such as myself. I know the APIs quite well