Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

[Networked Rooms] How to create a moderated room accepting users from Go/Rift or Quest app together?

Hello,

We are adding a social layer on our app that is already available on the Go and Rift and possibly on Quest later this year and our goal is to get users from the different headsets to be connected in the same room.

We created a moderated room because it seemed to be the best choice for our use case but our issue is that since each moderated room is connected to a specific app id it seems impossible for example to get users from the Go to connect to the moderated room that we created with the Rift app id.

Can anyone from Oculus point me to the best solution to achieve what we are looking for?

Thank you for your help!

Baptiste

Comments

  • Ross_BeefRoss_Beef Posts: 170 Oculus Staff
    Hey there. Not really the domain of avatars sdk (there's a platform SDK group for these type of issues), however, I believe what you're looking for is the 'app grouping' functionality. What this does is enable a super-group across your disparate app IDs (each of which wraps the users' ID into a different hash), within which you can then network 'across app' (really across hardware/store platforms).

    You can set up app groupings from the organization settings page, here:
    https://dashboard.oculus.com/organizations/<your-org-ID>/app-groupings/

  • BaptisteGrBaptisteGr Posts: 30
    Brain Burst
    Thank you for your quick response @Ross_Beef - we already setup our app grouping but when creating our moderated room we must use the specific id of our app (in the $APP_ACCESSTOKEN):
    $ curl -d 'access_token=$APP_ACCESSTOKEN'  -d 'max_users=MY_MAX_USER_COUNT'
    https://graph.oculus.com/room_moderated_create
    So which id should we use while creating the moderated room to make sure players from the Go and Rift can join it?
  • Ross_BeefRoss_Beef Posts: 170 Oculus Staff
    Have you tried using the app grouping ID and the user ID returned at the app grouping level?
  • BaptisteGrBaptisteGr Posts: 30
    Brain Burst
    edited March 21
    Yes, it returns the following error:
    {"error":{"message":"Error validating application","type":"OAuthException","code":190,"fbtrace_id":"DlYzpc5iSLd"}
    The APP_ACCESSTOKEN is composed of the app id and the app secret token that can be generated on the dashboard. Can we generate a secrete token for an app grouping as well?
  • BaptisteGrBaptisteGr Posts: 30
    Brain Burst
    So it seems we fixed our issue. Apparently once you group apps together, a moderated room created with the app id of the Rift will be open too all of the apps from the grouping.

    We need a few more tests to make sure of this but it seems to be working for now :)
Sign In or Register to comment.