tasksRuntimeVersionOn function
The official MediaPipe release behind the tasks on platform: Google's
1.2.2 per-family libraries (its release build of November 2, 2026) on
Android, iOS, macOS, Linux and Windows, and in browsers the npm runtime
each family's assets/runtime.json pins.
Implementation
String tasksRuntimeVersionOn(TaskPlatform platform) =>
platform.operatingSystem == 'web' ? _webRuntimeVersion : '1.2.2';