Now, I'm trying to push publish any of the streams (source1.stream, source2.stream and source3.stream) to a CDN. I created a new .stream file (switch.stream) in which the content can be replaced by any of the stream file sources. To illustrate,
switch.stream = rtmp://mywowzaserver:1935/myliveapp/source1.stream OR
switch.stream = rtmp://mywowzaserver:1935/myliveapp/source2.stream OR
I've created a PushPublishMap.txt file in the same folder as my application (myliveapp) and the corresponding changes in the Application.xml was also made (due to change in the PushPublishMap.txt location).
My problem is, I can't play switch.stream using myliveapp application in the Wowza Streaming Engine.
What am I missing here? Is it possible to achieve my objective using this setup?
2) I also tried creating an origin application, started the sources (source1.stream, source2.stream and source3.stream) using Stream Manager, then configured my myliveapp application (stated above) as an edge application (added the necessary OriginURL in the Application.xml). Then, I started switch.stream in the Stream Manager (Application: myliveapp ; MediaCaster type: liverepeater) to push publish switch.stream stream to the CDN. However, the stream (RTMP delivery) played for about 3 seconds only using my CDN.
Your workflow is a little confusing, at first I thought you may have wanted to do
Adaptive bitrate streaming but if that's not the case then it's likely that you're .stream fie (switch.stream) either isn't created correctly or hasn't been published in Wowza Streaming Engine Manager.
If you are looking to do adaptive bitrate streaming, switch.stream should be a .smil file (switch.smil) and then reference the 3 streams which should be keyframe aligned.
When using Stream Targets (formally known as PushPublishing) you would need to push each adaptive bitrate sources (source1.stream, source2.stream and source3.stream).
When opening a ticket, please include a detailed description of what you're trying to achieve, a link to this thread for reference and a ZIP file containing the [Wowza-Install]/conf/ directory and latest log files for analysis.