Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.13k stars 1.42k forks source link

Pass user info when linking between rooms or worlds #2606

Open broehl opened 4 years ago

broehl commented 4 years ago

When linking between worlds (e.g. a portal from JanusXR to Hubs or vice-versa), it would be good to pass things like the username and the url of their avatar as parameters. Something like...

https://hubs.mozilla.com/FPh767F/meetup?username=Bernie&avatar=some_avatar_url.glb

You could also pass the user's chosen audio devices, and whether to use the VR headset if present.

┆Issue is synchronized with this Jira Task

misslivirose commented 4 years ago

Hey @broehl - do #2273 and #2509 cover this?

Those two capture what we can do for this on the Hubs side until there are more standards in place for how other web apps could work.

broehl commented 4 years ago

Hi Liv

Well, one of those two is also from me. :-)

2237 suggests passing device information 2509 suggests passing username 2606 suggests passing avatar URL as well as username

So the three are related, but cover different things.

A combined proposal would be for the URL to include the following parameters:

username=Bernie avatar=http://someserver.com/avatars/bighead.glb device=phone mic=default-1 speaker=usb-11 vr=no mute=false

On Mon, Jul 6, 2020 at 7:48 PM Liv notifications@github.com wrote:

Hey @broehl https://github.com/broehl - do #2273 https://github.com/mozilla/hubs/issues/2273 and #2509 https://github.com/mozilla/hubs/issues/2509 cover this?

Those two capture what we can do for this on the Hubs side until there are more standards in place for how other web apps could work.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mozilla/hubs/issues/2606#issuecomment-654518500, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABMJ53CX5LQYTUAA3FFVGTR2JPE7ANCNFSM4OQAMI5A .

-- Bernie Roehl Mail: broehl@gmail.com