A driver can't say what it will produce from its declared options alone.
BB.Camera.stream_info/1 runs during discovery against robots that aren't
running, so it can't ask the hardware. A driver whose format genuinely only
becomes knowable once the device is open returns this, and discovery reports
stream_info: nil rather than guessing.
Summary
Functions
Create an Elixir.BB.Error.Invalid.Camera.UnknownStreamInfo without raising it.
Types
Functions
@spec exception(opts :: Keyword.t()) :: %BB.Error.Invalid.Camera.UnknownStreamInfo{ __exception__: term(), bread_crumbs: term(), class: term(), module: term(), path: term(), reason: term(), splode: term(), stacktrace: term(), vars: term() }
Create an Elixir.BB.Error.Invalid.Camera.UnknownStreamInfo without raising it.
Keys
- :module
- :reason