Cellivar / WebDeviceMux

A small library for managing connections to WebUSB, WebHID, and Web Serial devices from multiple tabs at the same time.
Apache License 2.0
0 stars 0 forks source link

Properly define the boundary layer specification #1

Open Cellivar opened 10 months ago

Cellivar commented 10 months ago

The goal of this project is to create a shim layer that can slide between another library and the actual WebUSB API. By fitting into this layer it is possible to intercept and redirect requests for data or responses from devices.

This is, inherently, difficult. The browser is doing a lot of heavy lifting within these APIs, and being able to transactionalize messages will be important. Handling isochronous data will be fascinating.

This issue tracks the work to figure out what is possible and what is not possible in this library, and how that maps to the project.

Cellivar commented 10 months ago

Scattered notes:

Cellivar commented 10 months ago

Also neat for another device to support!