Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4950

Extend gRPC API with a stream for AppOnOutputResponse

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • None

      So it seems I screwed things a bit when I added

      rpc SetAppOnOutput(AppOnOutputRequest)                  returns (AppOnOutputResponse) {}
      

      and I need to make it to a stream AppOnOutputResponse as in

      rpc SetAppOnOutput(AppOnOutputRequest)                  returns (stream AppOnOutputResponse) {}
      

      This is an async event, so I can only send it when it comes from the compositor it needs to be a subscriber.

      Where exactly is this used? Currently, nowhere, but an usage for it might be homescreen or other flutter-auto/chromium/wam for getting the output events, need to correctly set-up app on different outputs.

      I'm under the impression that this might break backwards compat, as just modifying AppOnOutputResponse with args is not the same as using stream.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mvlad Marius Vlad
            mvlad Marius Vlad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: