As the dev community around Ambianic.ai expands and new ideas are brought in, it feels like a good time to document the current p2p state machine. This should allow more productive discussions on our roadmap and design.
The state machine diagram below complements the recent deep dive WebRTCHacks article Private Home Surveillance with the WebRTC DataChannel.
Here is the source of the diagram to fork and edit. It was created with the excellent diagrams.net (aka draw.io) tool.
Feel free to ask questions or comment in the discussion below.