I'm building a Flutter group video call app using the flutter_webrtc package. I previously built a P2P version where I handled SDP manually using Durable Objects, and it worked fine.
Now I’m using Cloudflare Calls (SFU) to scale the app for group calling.
✅ What Works So Far:
The session creator publishes their local stream and joins the session.
Other users can join the same session using Cloudflare’s API.
I'm receiving remote tracks via the onTrack callback (confirmed via logging).
I'm using RTCVideoRenderer to render remote streams.
❌ The Problem:
Even though the MediaStreamTrack arrives via onTrack, I cannot get the remote video to render in the UI. The RTCVideoRenderer stays blank — no errors, just nothing visible.
❓ Question:
What is the correct way to render remote tracks using flutter_webrtc in a group call with SFU (Cloudflare Calls)?
Are there any extra steps needed when dealing with multiple incoming tracks in SFU mode? Do I need to manually add tracks to the peer connection in a different way?
Any help from those who’ve used Cloudflare Calls or SFU with Flutter would be hugely appreciated!