Skip to content

Support an external WebSocket object #113

@davidbrochart

Description

@davidbrochart

Is your feature request related to a problem? Please describe.
Document providers like y-webrtc use lib0/websocket for connecting e.g. to a signaling server, which doesn't use any authentication system. But in practice, connections to the signaling server should be protected.

Describe the solution you'd like
Would it be possible to pass an external WebSocket object, that would be pre-configured to make an authenticated request?

Describe alternatives you've considered
This seems to be the most general/simply solution, I'm not thinking of alternatives.

Additional context
I have forked y-webrtc in jupyter-webrtc-provider. Maybe I could remove the dependency on lib0 for the WebSocket. Do you think that would be a better solution?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions