Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Streams] Prototype a Streams API compatible PresentationConnection #282

Open
markafoltz opened this issue Apr 20, 2016 · 1 comment
Open
Labels

Comments

@markafoltz
Copy link
Contributor

In Issue #163 @domenic and I discussed the possibility for adding Streams-compatible APIs for messaging to the PresentationConnection. While it looks like timelines don't line up to add this work directly to the spec, we should experiment with polyfills for this behavior so that when Streams is ready for implementation we already have an idea of what APIs would work well.

Benefits of Streams:

  • Type-agnostic messaging
  • Congestion control and backpressure
  • Push/pull compatible
  • Transform APIs
  • etc.
@markafoltz markafoltz added the v2 label Apr 20, 2016
@markafoltz
Copy link
Contributor Author

markafoltz commented Sep 19, 2016

@domenic There may also be a possibility for a Stream (or MediaStream) to be piped from the controller to the presentation, or vice versa. For example a Stream or MediaStream generating API like getUserMedia, PeerConnection, or Sensors could be used for remote control or media rendering.

Stream passing between contexts would allow the user agent to route events more efficiently than having the page install an event handler in script and serializing the events as string or binary messages.

@markafoltz markafoltz added the P3 label Nov 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant