Simplify StreamParameters, fix Android
  Stream implementation