Should onAppStart be getting called twice?

I have a module using onAppStart, and this was always called once on our Wowza server using the live application. On an ec2 instance which uses the application type liverepeater-origin, the event is fired twice, once for the actual app name, and once for “definst”. Is this normal expected behavior? Also, are classes extending ModuleBase created only one time (singleton), or one time per application, so in this case twice?

Thanks,

Grant

onAppStart fires each time an application instance is started. This is same on EC2 as any instance of Wowza. If you connect with each of the following, onAppStart will fire once for each:

rtmp://[wowza-server]:1935/vod/definst

rtmp://[wowza-server]:1935/vod/room1

Richard

scratch

Yes, sorry. And it was wrong anyway.

Richard

Yes, with AES. Here are two methods:

Secure HLS streams with external AES

Secure HLS streams with external AES

Richard

Was this post meant for another thread?