esc

C → S → C {type: 'esc'}

esc – end call. Usually sent by client who wants to end or deny a call. Forwarded by server to other client.

S → C {type: 'esc'}

Server might also send esc message by itself.

optional arguments:

Message esc without optional arguments indicate normal call ending ("hung up" by other end).