IOS device sleeping during playback?

Hi, I’ve had this odd thing in last week where both my iPad and iPhone have gone to sleep while watching Channels. Happened multiple times. Just watching like normal and the device shuts off, same as if device were inactive. Has anyone else had this? I haven’t done appropriate troubleshooting (time this to see if it matches display lock, change the sleep settings, try other devices) but figured I’d ask before I do that. No issue with tvOS and Apple TV, just iOS.

It was a bug in. Westin 5.0.1. Manually update to version 5.1.0 to fix it.