Program for execute a streaming while network is available, and replace it for another resource while it's not.