kompfner
released this
02 Nov 16:37
·
480 commits
to main
since this release
Features
MediaStreamTrack._switchCamera()
returns a Promise resolving to the current camera facing mode (”user”
or”environment"
).- A new method
MediaStreamTrack._getCameraFacingMode()
returns a Promise that resolves to the current camera facing mode (”user”
or”environment"
). Together with the new_switchCamera()
behavior, this method enablesreact-native-daily-js
methods that help you build UI that appropriately accounts for whether a front- or rear-facing camera is being used.