Skip to content

Error: Failed to execute 'forEach' on 'RTCStatsReport': parameter 1 is not of type 'Function' #1788

Closed
@Bylynka

Description

@Bylynka

Calling getStats() on RTCRtpReceiver crashes on the web app with the following error:

Error: Failed to execute 'forEach' on 'RTCStatsReport': parameter 1 is not of type 'Function'

It works locally in debug mode but doesn't work in release mode.

Flutter (Channel stable, 3.29.2, on macOS 15.3.2 24D81 darwin-arm64)
flutter_webrtc: 0.12.12+hotfix.1

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