Venue Set
venue_setAdd or change a streaming venue by setting its platform and channel, then get the login or stream-key command still needed.
Instructions
Add or change a venue: one channel on one site. No secret ever goes here. name: short and lowercase ('yt', 'twitch-main', 'practice'). platform: fake, twitch, youtube, kick, owncast, rtmp (output only) or file (a local recording; channel is the .flv path). channel: the channel's login name (twitch, kick), handle or channel id (youtube), server address (owncast). chat: read and answer its chat. output: send the stream there on stream_go (default: yes where the site takes video). ingest: an RTMP(S) address when the default does not fit. script / loop (fake only): a scripted test viewer, [{after_s, user, text} or {after_s, user, event}]. reader / poll_s (youtube only): 'stream' (the default: realtime, one call held open) or 'poll' (a list call every poll_s seconds, 10 by default, at least 5). Returns what the venue still needs from the person (a login, a stream key) and the exact line they type in a terminal for it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | ||
| loop | No | ||
| name | Yes | ||
| note | No | ||
| ingest | No | ||
| output | No | ||
| poll_s | No | ||
| reader | No | ||
| script | No | ||
| channel | No | ||
| platform | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |