channels library

Classes

AuthResolver
Resolves the JWT for a channel — the configured token, or one fetched from the auth endpoint for guarded (private-/forceAuth) channels.
Channel
Connection
A single WebSocket shared by many Channel handles (PieSocket v4).
Logger
PieCall
One-line-integration 1:1 calling on top of PieSocket.
PieCallConfig
Tunables for PieCall.
PieCallInvite
Identifies one call. uuid is the CallKit id (must be a UUID); callId is the app's own integer id, passed back to the REST hooks.
PieCallPush
Turns a PieChat-style call push into the native incoming-call UI.
PieCallSnapshot
Everything the UI needs about the current call. Immutable; a new one is emitted on PieCall.updates for every change.
PieRTC
PieRTC — programmable WebRTC video/audio rooms over a v4 Channel.
PieRTCOptions
Options for a PieRTC room, set via PieSocket.join's named params.
PieSocket
PieSocketEvent
PieSocketOptions

Enums

PieCallPhase
Where a call is in its lifecycle.

Exceptions / Errors

PieSocketException