Skip to main content

obs.subscribe

object[]
required
{ channel, rate_hz? } entries to add or re-rate.
awp:subscribe

obs.unsubscribe

string[]
required
Channel names to remove.
awp:unsubscribe

Result

Both return the session’s complete channel grant list after the change, enumerated exactly (AWP-NEG-001, AWP-NEG-004). The first frame on a newly subscribed channel is a current snapshot or keyframe (AWP-OBS-005); in lockstep it carries the current tick (AWP-TIM-009).
awp:subscribe-result
Errors: 2007 (AWP_CHANNEL_UNKNOWN: not declared in the manifest), 4001 (AWP_FORBIDDEN: declared but not readable by this session).