UIDeviceOrientation contains states such as .faceUp, .faceDown which are not ideal for determining capture rotation and causes undefined behavior. This patch will use interface orientation instead.
Especially when the interface rotation is locked (by user) it had an undesirable behavior.
UIDeviceOrientation
contains states such as .faceUp, .faceDown which are not ideal for determining capture rotation and causes undefined behavior. This patch will use interface orientation instead. Especially when the interface rotation is locked (by user) it had an undesirable behavior.Also fixes issue : https://github.com/livekit/client-sdk-swift/issues/146