Honestly, there is no app that can convert M3U8 to MP4 on iPhone/iPad in the market, but you can install an M3U8 playback app, for instance, M3U8 Stream Player, on your iPhone/iPad, then record the screen while playing it.