The documentation states that the audioSource and videoSource can be a boolean or a MediaStreamTrack object.
It is expected to be able to set the the properties as a boolean.
Describe the bug (unexpected behavior)
The type definition of DailyCallOptions does not allow audioSource or videoSource to be a boolean.
Weirdly, the type definition allows the said properties to be a string (string | MediaStreamTrack).
Expected behavior
The documentation states that the
audioSource
andvideoSource
can be a boolean or a MediaStreamTrack object. It is expected to be able to set the the properties as a boolean.Describe the bug (unexpected behavior)
The type definition of
DailyCallOptions
does not allowaudioSource
orvideoSource
to be a boolean.Weirdly, the type definition allows the said properties to be a string (
string | MediaStreamTrack
).