My setup is the following :
- I have a channel that takes an HLS input and pushes it to a specific twitch channel
- The output group doesnt change
- The input however does change every day and i'm performing an input switch (picking a different HLS playlist) and then i start the channel
- Once the stream is over i stop the channel
I have a node application that constantly checks which HLS input should be scheduled and automatically switches the input at a give time and immediatly after it starts the channel
My problem is that even if everything is working as expected the channel sometimes takes 5-8 minutes to go from Idle to running
It seems to be completely random, sometimes it takes less than 50 seconds (which would be more than acceptable) but having to wait 5 minutes or more is silly.
I also tried to buy a reservation for the input (following the "View matched reservation offerings" suggested by AWS) but nothing changed at all... Starting time are still random and more often than not they take several minutes to start the stream.
What am i doing wrong ?