Discrepancies between AudioFilterFactory and VideoFilterFactory APIs

Seem like the API set is unfinished (the VideoFilterComponent and AudioFilterComponent that is suppose to create is not defined in docs - strongly hinting at work in progresss) - but I’m still raising to ensure this is looked at.

  • Discrepancy between “createComponent” API signatures between audio and video:
    • AudioFilterFactory::createComponentByDisplayName(displayName, audioClipTrackItem)
      vs
      VideoFilterFactory::createComponent(matchItem)
  • for AudioFilterFactory API: “createComponentByDisplayName” is redundant given the argument name “displayName”
  • for VideoFilterFactory API: what is the point of “getDiplayName” since it is not used in any of the API. Also how to apply to a specific videotrack (seems like the version for audio it targeting an AudioTrackItem, I assume this should be the same here, or at least constistent between the 2).

Thx !

1 Like