Skip to content

Add support for Gradio 6 #428

Description

@alozowski

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions