# `BB.Camera.Media.Session`
[🔗](https://github.com/beam-bots/bb_camera/blob/main/lib/bb/camera/media/session.ex#L5)

A `BB.Camera.Media` consumer's handle on a camera.

`stream_info` is the camera's advertised format at the moment the session
opened. Describe a *frame* with the frame's own `format`, `width` and
`height`: a camera that renegotiates its geometry mid-capture produces frames
that disagree with what it advertised, and the frames are the truth.

# `t`

```elixir
@type t() :: %BB.Camera.Media.Session{
  stream_info: BB.Camera.StreamInfo.t(),
  subscription: BB.Camera.Subscription.t()
}
```

---

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