Registry Mirror
Skip to content

Conversation

@mjwilson-google

Copy link
Copy Markdown
Member

Fixes #48

Clarify that the user agent SHOULD ensure MIDIPort.id is unique per origin and maintained across instances of the application where permission to access MIDI devices has been granted, and include the origin in the hash example.

@padenot padenot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment, we can lean on the hard work done by our colleagues for getUserMedia.

Comment thread index.html
that port. The User Agent SHOULD ensure that the id is maintained
across instances of the application - e.g., when the system is
rebooted - and when a device is removed from the system.
that port. The User Agent SHOULD ensure that the {{MIDIPort/id}}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we mimick what https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-deviceid is doing here, so it's all nice and uniform?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Does MIDIPort.id need to be origin-scoped and/or regenerated with cookies?

2 participants