Infuse 2 pro HDMI TV-out while iPad screen asleep?

Can Infuse 2 Pro output MKV video with AC3 sound and subtitles to my TV via lightning HDMI cable while the iPad screen is off and asleep?  Or does the Infuse 2 Pro app stop outputting MKV video and sound to the TV when the iPad’s screen is put to sleep?

Also, if using TV-out to output an MKV video, will the iPad’s screen be able to go to sleep (turn off and go into lock mode by itself) while the video is still playing, like the native iOS video app?


Hardware: iPad Air, iOS 7.0.4 connected to TV via the Apple lightning-to-HDMI cable

Software: Infuse 2 Pro (the $4.99 paid version)