Skip to content

Android: Cannot find symbol SimulcastVideoEncoderFactoryWrapper on Version 1.1.0 #1922

@Oliver-Zimmerman

Description

@Oliver-Zimmerman

Describe the bug
Since updating to version 1.1.0 I am getting the following gradle build errors:

/Users/oliverzimmerman/.pub-cache/hosted/pub.dev/flutter_webrtc-1.1.0/android/src/main/java/org/webrtc/video/CustomVideoEncoderFactory.java:5: error: cannot find symbol
import com.cloudwebrtc.webrtc.SimulcastVideoEncoderFactoryWrapper;
                             ^
  symbol:   class SimulcastVideoEncoderFactoryWrapper
  location: package com.cloudwebrtc.webrtc
/Users/oliverzimmerman/.pub-cache/hosted/pub.dev/flutter_webrtc-1.1.0/android/src/main/java/org/webrtc/video/CustomVideoEncoderFactory.java:18: error: cannot find symbol
    private SimulcastVideoEncoderFactoryWrapper simulcastVideoEncoderFactoryWrapper;
            ^
  symbol:   class SimulcastVideoEncoderFactoryWrapper
  location: class CustomVideoEncoderFactory
/Users/oliverzimmerman/.pub-cache/hosted/pub.dev/flutter_webrtc-1.1.0/android/src/main/java/org/webrtc/video/CustomVideoEncoderFactory.java:27: error: cannot find symbol
        this.simulcastVideoEncoderFactoryWrapper = new SimulcastVideoEncoderFactoryWrapper(sharedContext, enableIntelVp8Encoder, enableH264HighProfile);
                                                       ^
  symbol:   class SimulcastVideoEncoderFactoryWrapper
  location: class CustomVideoEncoderFactory

To Reproduce

  • Update to 1.1.0
  • Try to launch the app

Expected behaviour

  • Build and run as before

Platform information
[✓] Flutter (Channel stable, 3.29.3, on macOS 15.1.1 24B91 darwin-arm64, locale en-IE) [572ms]
• Flutter version 3.29.3 on channel stable at /Users/oliverzimmerman/Development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ea121f8859 (5 months ago), 2025-04-11 19:10:07 +0000
• Engine revision cf56914b32
• Dart version 3.7.2
• DevTools version 2.42.3

[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [4.3s]
• Android SDK at /Users/oliverzimmerman/Library/Android/sdk
• Platform android-35, build-tools 35.0.0
• ANDROID_SDK_ROOT = /Users/oliverzimmerman/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: flutter config --jdk-dir="path/to/jdk".
• Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)

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