If brittleness issues could be overcome, ceramics could provide long rates of sustained fire and eliminate corrosion concerns.
I wonder if sabot rounds could be used to reduce friction and eliminate metal fouling?
How about a ceramic barrel liner? Don’t have time to look up the melting points, but I wonder if a metal barrel could be cast, or even forged, around a ceramic liner. Would be complicated and expensive, but maybe worth it.