osc icon indicating copy to clipboard operation
osc copied to clipboard

Additional OSC endpoint `/notification/display`

Open cyberkitsune opened this issue 3 years ago • 1 comments

What's the idea?

Problem

As OSC applications become more complicated they may output messages to the user, such as errors, warnings, status messages, etc. If a user is in VR they must either use SteamVR or other third party overlays to check the status of the OSC application manually.

My Proposal

Now that VRChat has a notification toast system, I propose an OSC endpoint be exposed that will allow OSC helpers to send a toast notification to the user.

The endpoint would look as follows:

  • /notification/display - 2 Parameters (Message - string, Type - string)
    • The message parameter would be the utf-8 message to display in the toast notification
    • The type parameter would be used to determine which icon to display in the toast (from a preset list of possible icons)

Is there another way?

Current solutions are to either build a SteamVR overlay application, or to rely on 3rd party tools (such as XSOverlay, OVR Toolkit, etc.)

cyberkitsune avatar Nov 10 '22 03:11 cyberkitsune

it would be nice to also have a image parameter. a base64 encoded image seems like it may be to much to send via osc, maybe the filepath/uri of an image could work?

EIA485 avatar Nov 10 '22 03:11 EIA485