Wowza Community

Is it possible to have two objects MediaCasterStreamMap.acquire(url, type) using same video source url?

The code below in my Wowza module will return a list of mediacaster names. In this list I can see only unique URL.

IApplicationInstance.getMediaCasterStreams().getMediaCasterNames();

Can I create 2 different mediacasters with the same URL?

For example

MediaCasterStreamItem mediaCaster = appInstance.getMediaCasterStreams().acquire(“some url”, “rtp-live”);

I was trying to change mediacaster id but it did not help. It seems like it is possible to have only 1 mediacaster with the same url.

Best regards

I found a solution. Maybe can help other people.

I added to URL some parameter.

For example: rtmp**://host/path****?streamId=uniqueId**

As result, I got unique URL and can create mediacaster.