Wowza Community

Dynamic stream targets

I have an incoming stream that goes to my app and stream (called myapp and mystream). I want to be able to send the incoming stream to a dynamically generated RTMP target.

How do I do that? Do I have to create a module or is there an existing module I can use to achieve that? The current stream targets needs to be preconfigured but I receive the RTMP target url on the fly.



In the recent releases of Wowza Streaming Engine the stream targets are loaded automatically once they appear in a map file. A simple way to do this dynamically is to add an entry to [install-dir]/conf/[app-name]/PushPublishMap.txt. This file gets polled frequently by the stream target sub-system and any new/deleted entries will be made active/removed. You can update this file manually/via scripting or use the Stream Targets REST API.


Thank you I will try this out! Will be back with updates.

Please see this post to add stream targets