fastrtc currently declares gradio>=4.0,<6.0. Under Gradio 6, WebRTC.preprocess() crashes on audio events because the payload can be None:
File ".../fastrtc/webrtc.py", line 238, in preprocess
if isinstance(payload.root, str)
AttributeError: 'NoneType' object has no attribute 'root'
This blocks downstream apps that depend on fastrtc from running under Gradio 6.
fastrtc currently declares
gradio>=4.0,<6.0. Under Gradio 6,WebRTC.preprocess()crashes on audio events because the payload can be None:This blocks downstream apps that depend on fastrtc from running under Gradio 6.