Blancduman / mediasoup-client-flutter

Flutter version of the mediasoup-client library.
MIT License
105 stars 56 forks source link

unable to build : Error The non-abstract class 'RTCVideoRenderer' is missing implementations for these members: #64

Open fullflash opened 2 years ago

fullflash commented 2 years ago

we are getting this error during build for ios and android.

mediasoup_client_flutter: ^0.8.1. this is the latest pub dart verions

: Error: The non-abstract class 'RTCVideoRenderer' is missing implementations for these members:
../…/native/rtc_video_renderer_impl.dart:11
 - VideoRenderer.onFirstFrameRendered
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.

class RTCVideoRenderer extends ValueNotifier<RTCVideoValue>
      ^^^^^^^^^^^^^^^^
: Context: 'VideoRenderer.onFirstFrameRendered' is defined here.
../…/src/rtc_video_renderer.dart:51

  Function? onFirstFrameRendered;
            ^^^^^^^^^^^^^^^^^^^^

FAILURE: Build failed with an exception.
mohamedamr987 commented 2 years ago

check this one https://github.com/flutter-webrtc/flutter-webrtc/issues/1079