callbacks-and-input

Installation
SKILL.md

Callbacks and Input

Overview

WebRTC, native, SHM, and CUDASHM servers all have reverse channels that surface as four callbacks:

Callback Fires when Available on
on_connection A client connects or disconnects All transports
on_message The client sends a text/binary message WebRTC, native, SHM, CUDASHM
on_input The client emits a keyboard / mouse / gamepad / touch event WebRTC, native, SHM, CUDASHM
on_unicode The client emits a composed text event (IME, on-screen kbd, paste, emoji) WebRTC, native, SHM, CUDASHM

RTSP has no input or message channel — only the connection callback fires. SHM and CUDASHM both carry the reverse channel over a local control socket / named pipe (sibling to the pixel transport).

You can also push outbound text/binary to connected clients via send_message / ovstream_send_message.

Threading contract

Installs
1
GitHub Stars
8
First Seen
7 days ago
callbacks-and-input — nvidia-omniverse/ovstream