SDK encoder api level condition