Why does Media Source API reject codec info from mp4box, and how to make it compatible?

I used mp4box to generate a video in the format video/mp4; codecs="mp4a.40.2, avc1.42e01e, rtp , rtp". However, when checking if this codec is supported with MediaSource.isTypeSupported(mimeCodec), it returns false. I know that the codec video/mp4; codecs="avc1.42E01E, mp4a.40.2" works fine.
Why does the Media Source API reject the codec information provided by mp4box, and is there a way to configure mp4box (or a similar tool) to automatically generate video/mp4; codecs=“avc1.42E01E, mp4a.40.2”?

1 Like