mediasoup-client-flutter icon indicating copy to clipboard operation
mediasoup-client-flutter copied to clipboard

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

Open fullflash opened this issue 1 year ago • 1 comments

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.

fullflash avatar Oct 13 '22 22:10 fullflash

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

mohamedamr987 avatar Oct 30 '22 17:10 mohamedamr987