facebook / idb

idb is a flexible command line interface for automating iOS simulators and devices
https://fbidb.io
MIT License
4.5k stars 432 forks source link

Recording stops on change of device orientation #741

Open ned-lambdatest opened 2 years ago

ned-lambdatest commented 2 years ago

Description

Video recording stops on change of the orientation on run time either portrait to landscape or vise versa but the idb command doesn't exit.

Reproduction

Once you have started video recording using the below command. idb record-video --udid <device_id> ./video.mp4

You can rotate the screens manually by keeping it landscape after opening safari

Additional Information

zaphodikus commented 5 months ago

that's going to be caused by the stream stopping and re-starting, a rather common issue which might be solved by changing the media container type?