Bugfix: orientation when devices changes while recording. fix #79