What you intent to record? IPTV steams? You need a third party app for this purpose. Like a PVR add-on in KODI. But others may have more experience to inform you more detailed. (I only know that the streaming works fine with Jarvis KODI, and with Krypton is a mess. But recording is another "layer", so I'm not sure if it would also -but I guess it works fine with Jarvis-.)
For recording TV: the Q5/Q10 Pro doesn't have built in TV tuners, so it's a no-go. There are maybe some USB TV Tuners compatible with Android, but it's a big "bag cat" as there's no way to tell if it would work also with these specific Boxes and firmwares, and there's a lack of experience regarding the whole topic.