I'm not sure how safe the following is, but I was able to get both an h264 decoder and encoder with packetization-mode=0 working by;
1. Override `getSupportedCodecs()` on both `DefaultVideoEncoderFactory` and `DefaultVideoDecoderFactory`
2. If `super.getSupportedCodecs()` has an item with name "H264", I create a new `VideoCodecInfo` with param `packetization-mode=0` and whatever the existing `profile-level-id` was and add it to the array returned by getSupportedCodecs().
This seems to work fine from my testing on a limited set of testing devices.
If it is valid I'm not sure why WebRTC does not return this by default.