In Wowza version 3, I could use something called “StartupStreamsMonitor” where when I added a stream file to a specific directory for an application, Wowza would start streaming it and when I deleted the file, Wowza would stop streaming it. Below is the thread for setting this up in Wowza Version 3:
https://www.wowza.com/docs/how-to-monitor-content-folder-for-sdp-and-stream-files-to-start-publishing-streams-serverlistenerstartupstreamsmonitor
How do I do this in Wowza version 4?
Thanks,
Rick
Hi there, I played around with this for a bit and you can still enable this ServerListener via the Server.xml file as before. Alternatively you can enable it through the UI.
See this guide for adding ServerListeners and Properties via the UI:
Configuring server listeners
Configuring properties
Salvadore
I added the values too and it still doesn’t work. Here’s what I did:
-
Under Server, in the tab “Server Listeners”, I added: com.wowza.wms.serverlistener.ServerListenerStartupStreamsMonitor
-
Under Server, in the tab “Properties”, I added:
Path --> Name --> Value
/Root/Server --> startupStreamsMonitorApplicationList --> Customcams_Class5
/Root/Server --> startupStreamsMonitorStreamPrefix --> mp4
/Root/Server --> startupStreamsMediaCasterType–> rtp
/Root/Server --> startupStreamsMonitorExtensionFilter --> .stream
- Under the CustomCams_Calss5 “Application”, I added under Properties:
Path --> Name --> Value
/Root/Server --> startupStreamsMonitorStreamPrefix --> mp4
/Root/Server --> startupStreamsMediaCasterType–> rtp
/Root/Server --> startupStreamsMonitorExtensionFilter --> .stream
/Root/Server --> securityPublishRequirePassword --> true
It still doesn’t work. What am I missing?
Yes, I just restarted it again to make sure. Still no luck.
I spoke too soon. It’s working now. I guess I never restarted the server. Thanks for the help!
Did you re-start the server after configuration?
Salvadore
Oh good! I am glad it is working for you now. Your welcome.
Salvadore