EDA.Voice.Event (EDA v0.3.0)

Copy Markdown View Source

Handles Voice Gateway events received by EDA.Voice.Session.

Voice Gateway opcodes (receive):

  • 2: READY
  • 4: SESSION_DESCRIPTION
  • 6: HEARTBEAT_ACK
  • 8: HELLO

Summary

Functions

Handles a decoded voice gateway payload and returns updated state.

Functions

handle(payload, state)

Handles a decoded voice gateway payload and returns updated state.