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

[REQ] TCP-based service discovery + WebSockets #88

Open
yasithdev opened this issue Oct 24, 2020 · 1 comment
Open

[REQ] TCP-based service discovery + WebSockets #88

yasithdev opened this issue Oct 24, 2020 · 1 comment

Comments

@yasithdev
Copy link

Hello,

I'm attempting to build a browser plugin (WASM) for LSL for my research work, but encountered a few issues that is preventing me from doing so.

  1. It appears that LSL uses UDP+multicast for service discovery. Unless I go in a WebRTC route, I'm stuck at implementing this at browser-level. Is there any work to build a TCP-based service discovery into LSL?

  2. LSL communicates data through pure sockets, and currently do not support WebSockets. Is there any work on adding WebSocket support into it?

Unless I'm mistaken, it's not possible to use LSL in a browser environment without these features. (For WebSockets, however, we could temporarily use the WebSockets proxy included in Emscripten, but it seems very hacky)

Any ideas / suggestions around this?

@yasithdev yasithdev changed the title TCP-based service discovery TCP-based service discovery + WebSockets Oct 24, 2020
@tstenner
Copy link
Collaborator

  1. Not that I know of, starting with TCP's lack of multicast support so you'd need some kind of discovery program that offers a list of local streams via e.g. HTTP.
  2. There's an issue for that in the labstreaminglayer repository (libLSL for WASM labstreaminglayer#34), but I don't know of anyone actively working on it.

@cboulay cboulay changed the title TCP-based service discovery + WebSockets [REQ] TCP-based service discovery + WebSockets Apr 25, 2024
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

No branches or pull requests

2 participants