#Phoenix-Channels
3 notas · última:
Building a Game with Phoenix Channels
Tutorial that builds a simple browser game with Phoenix Channels, using an Agent for shared state, channel events for movement, collision detection, Gravatar avatars, and score tracking.
Implementing Video Chat in a Phoenix Application with WebRTC
The post explains how to add video chat to a Phoenix app by using Phoenix channels to exchange signaling data, then creating a direct WebRTC peer connection with local and remote video streams.
Guts of Phoenix websocket channels
The post breaks Phoenix channels into transport, channel, and PubSub layers, then explains how Cowboy, GenServers, ETS, and PG2 move messages between clients and nodes.
