Looped Video Stream until Live Stream is Started

Encoder to broadcast mystream1,mystream2 and mystream3