BUG: remux speed is too low for iOS/iPad app

When I play a certain recording on the iPad app it remuxes at 5mbps even though the bitrate of the file is higher than that @ 6mbps (leading to buffering as the remux speed is less than 1x). When I play the same file through the browser it remuxes as well but way faster - at least 10mbps so there is no buffering.

Additionally, this file doesn't actually need to be remuxed by the iPad app. It is h264 and mpegts. Similar recordings do not remux at all. Is there some reason that the iPad app would select this file to need remuxing even though it doesn't need it AND would select the wrong bitrate to run the remuxer at?

When I force transcoding by setting the playback bitrate to less than 5mbps, or when i enable experimental HEVC transcoding, it plays back without buffering.

I have tried runnning "fix video timestamps" on the file etc.

The log line for the remux initiated from the iOS/iPad app:
encoder-4904-376465142 at 4904 (4903.000000) (encoder=remux, resolution=, deinterlacer=hardware, bitrate=5649, segment_size=0.01)

but for the remux from the web, the log line is:
encoder-5480-12198351 at 5480 (5479.000000) (encoder=remux, resolution=1080, deinterlacer=hardware, bitrate=9871, segment_size=0.01)