WebRTC has been a significant development in real-time media since its release in 2011, solving the problem of live media on the web. However, it is not perfect and has limitations in customization. The WebRTC stack is optimized for conferencing but struggles with other use cases. WebCodecs and WebTransport are emerging APIs that offer alternatives to WebRTC. WebCodecs allows for encoding and decoding media in the browser, while WebTransport enables data transmission over the network. Despite these advancements, replacing WebRTC entirely will take time and require addressing various flaws and challenges. The author, @kixelated, is working on this endeavor and welcomes collaboration.
https://quic.video/blog/replacing-webrtc/