LIVEOAK-74: Update to use resource states for the encoders. Does not handle subscriptions yet and some tests are expected to fail.