# `Octoroom.Cloudflare.Local`
[🔗](https://github.com/samrat/octoroom/blob/v0.1.0/lib/octoroom/cloudflare/local.ex#L1)

An in-process, localhost-only `Octoroom.Cloudflare` SFU backed by `ex_webrtc`.

Intended for trying Octoroom locally without a Cloudflare Realtime SFU
account. Each session runs an `ExWebRTC.PeerConnection` on host candidates
(no STUN/TURN) and forwards audio (`:opus`) and video (`:vp8`) RTP packets
between sessions through ETS.

Configure it in dev with:

    config :octoroom,
      cloudflare: [client: Octoroom.Cloudflare.Local],
      ice_servers: []

Not for production: there is no TURN, no clustering, and sessions live only
inside this BEAM node.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `config`

Returns a `cloudflare` config map targeting this local SFU instance.

# `start_link`

Starts a local SFU instance (started automatically by `Octoroom.Application`).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
