Auto switching between two stream sources

There is nothing built-in like that. You could monitor a stream and switch. Wrap the streams in a Stream class stream like this:

Switch streams using Stream class streams

And monitor the source something like this:

Module examples for Wowza Streaming Engine

Then you can do switch when you detect a problem.

Richard

Hi Richard,

I’ve done a setup with some of the results which your forum gaves me. I’ve posted something. Have you any idea or hint for me?:confused:

The main problem seems to be that the Wowza Application can’t connect via .stream File to another stream. But if I use the

content 1:1 from the .stream file as a streamname… it works.

From the example here : Set up origin/edge delivery for Wowza Streaming Engine

–snip–

RTMP
To play the stream in Adobe Flash Player, double-click [install-dir]/examples/LiveVideoStreaming/FlashRTMPPlayer/player.html, enter the information below, and then click the Connect button.
Server: rtmp://[wowza-edge-address]:1935/liveedge
Stream: rtmp://[wowza-origin-address]:1935/liveorigin/_definst_/[stream-name]
Where [wowza-edge-address] is the IP address of an edge server running Wowza Media Server, [wowza-origin-address] is the IP address of the origin server running Wowza Media Server, and [stream-name] is the name of the live stream being sent to the origin server.
Note: You can substitute the name of a .stream file on the origin server in place of the complex URL in Stream. For more information, see Using simple stream names.

–snip–

I always get via .stream file the following : LiveMediaStreamReceiver.connect: failure