Skip to content

[camera] Rework image streaming #100555

@stuartmorgan-g

Description

@stuartmorgan-g

The image streaming platform channel code wasn't moved to the platform interface because there was concern about the current API; see here and here. This is blocking full federation of the camera plugin, because we don't want the Dart code for the method channel in the app-facing package if the native implementations aren't there. We either need to:

  • fully replace the image streaming API, or
  • decide we're not going to do that soon, and move the API (although probably changing to a Stream rather than a callback at that API layer) to the platform interface.

@mvanbeusekom @bparrishMines Do you have more context on what the replacement was going to be? There was mention of having it stay on the native side, but we have issue reports from people actively using it in Dart so it seems like we would want to keep that as an option in some form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listp: cameraThe camera pluginpackageflutter/packages repository. See also p: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions