This page is a demo using MSE to concatenate two encoded fragmented MP4 (AAC) files into a gapless audio stream. If player and MSE work correctly, the transition in the middle should be seamless and users shouldn't hear a pop.
Please see Gapless Audio MSE for more details.
GaplessAudioPlayer
GaplessAudioPlayerWorkaround