openvibers/openvibe.contracts Commits

Contracts 0.182.0: the live screen (screen_stream device kind; Bot fills in the private stream) (#142)

OP OpenVibers committed 29 days ago · tag v0.182 · 0 files, +0 −0

The live screen (plan T14): a machine's owner watches its screen live on openvibe.bot.

- `bot.device-message@1` commands accept the kind `screen_stream`. The value is either:
  - `{ action: 'start', whip_url, publish_key, seconds?, fps? }`, or
  - `{ action: 'stop' }`.
- The screen goes to the machine's own OpenRestream stream: private playback, no recording, never mirrored to Live.
- Bot alone fills in the WHIP URL and key. The kind is not in `bot.command@1`, so no operator, agent or service can send it or choose where the screen goes. `bot.computer.control` says so too.
- `deadline_ms` is the reply window for `screen_stream`, as it is for the other computer kinds.

Implemented by OpenVibe.Node v0.12.0 (core and computer plugin) and Bot's machine screen. Generated files are regenerated, `npm test` passes (20114 checks), and `compat.js v0.181.0` finds no breaking changes.

This commit has no diff to show.