Add MediaDecoder state machine