Wowza Community

Copy stream from remote server and restream with custom application and stream name

Hello, how can i make restream from remote RTMP server and make stream with my custom application and stream name

I tried make that with using this code:

IApplication app = appInstance.getApplication();
        app.getAppInstance("644").startMediaCasterStream("rtmp://REMOTE RTMP SERVER", "liverepeater");

Thats create stream with Application name : live/644 and stream: “rtmp://REMOTE RTMP SERVER”

I wanna to create stream on application “live” and stream “644”

How can i make something like this?