BB.Camera.Media.Session (bb_camera v0.1.1)

Copy Markdown View Source

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.

Summary

Types

t()

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