The SourceSelect
component provides gateways with a dropdown interface to choose between different media source devices like cameras and microphones.
SourceSelect
components extend from
@radix-ui/react-select
,
and inherits all of the documentation for those components.localStorage
by default (with storage overrides customizable in
Root
)SourceSelect
forceMount
type
"audioinput"
for microphones or "videoinput"
for cameras.
children
SelectItem
value.data-livepeer-source-select
data-type
"audioinput"
for microphones or "videoinput"
for cameras.
data-visible
"true"
meaning it’s
currently visible (i.e., device support is available) and "false"
denoting
it’s not visible.