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

Make the easyrtc adapter unreliable transport configurable #324

Open
vincentfretin opened this issue Mar 12, 2022 · 0 comments
Open

Make the easyrtc adapter unreliable transport configurable #324

vincentfretin opened this issue Mar 12, 2022 · 0 comments

Comments

@vincentfretin
Copy link
Member

From the discussion in #139
make the easyrtc adapter unreliable transport configurable (used for sendData and broadcastData) , so you can use websocket (like the wseasyrtc adapter) or a custom function to use a websocket from another backend instead of webrtc data channels.
With websocket transport you can do whatever you want on the server side to persist spawned entities.

In the janus adapter you can specify for reliableTransport and unreliableTransport "datachannel", "websocket" or a function to use another server. Example in the janus sendData code:
https://github.com/networked-aframe/naf-janus-adapter/blob/7840de8f2dbfd978136c7e1844d4677fbfd208fe/src/index.js#L1037-L1053

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant