The player will now automatically start playback of either one of the channels, depending on which one it found to be active first.Start broadcasting to both of your channels.Enter the IDs of your primary and backup Live Channels and click "Select Channels".If you are just looking to play a single Live Channel, please refer to the regular Live Channels demo. Because clients will start watching whichever channel was active firstįrom their perspective, the entire viewer base will contribute to Analytics on two different media items with While redundant Live Channels offer improved robustness on the front of encoder failure, there are also drawbacks.īecause each channel is associated with a separate encoder, each streaming session will result in a separate event toīe broadcast per channel. This setup allows one of the encoders to fail, or otherwise lose connectivity without immediately losing viewership. Our RTMP ingest from two different networks. The primary use-case of the setup demonstrated here is to support dual-encoder setups, where a broadcaster streams to If a playback error is detected, then the demo will attempt to The instance of the player detect any playback errors. Once this player has been instantiated, event listeners are registered on Video player will be replaced with a new JW Player instance which plays the live event stream associated with theĬhannel that has been detected as active. The JavaScript logic on this page will automatically fetch the status of the provided live stream channels.Īs soon as the logic detects that either one of the channels becomes active, then the placeholder HTML element for the
#WHAT IS JW PLAYER ERROR LOADING MEDIA FILE NOT FOUND HOW TO#
This demo demonstrates how to implement a failover mechanism between two Live Channels. Waiting for Live Channels to be specified.