Multicast reservation

Multicast traffic with address 239.0.0.1 is received on ether1 from one source, and on ether2 from another source. The goal is to forward the multicast stream from ether1 to ether5, and if it disappears, switch to the stream from ether2. Is it possible to implement multicast failover?