anchor.diff:          'RTCVideoRenderer-$textureId', (int viewId) => videoElement);
   
       videoElement.onCanPlay.listen((dynamic _) {
  -      if (!isInitialized) {
  -        isInitialized = true;
  -        value = value.copyWith(
  -            rotation: 0,
  -            width: videoElement.videoWidth.toDouble() ?? 0.0,
  -            height: videoElement.videoHeight.toDouble() ?? 0.0,
  -            renderVideo: renderVideo);
  -      }
  -      print('RTCVideoRenderer: videoElement.onCanPlay');
  +      value = value.copyWith(
  +          rotation: 0,
  +          width: videoElement.videoWidth.toDouble() ?? 0.0,
  +          height: videoElement.videoHeight.toDouble() ?? 0.0,
  +          renderVideo: renderVideo);
  +      print('RTCVideoRenderer: videoElement.onCanPlay ${value.toString()}');
  +    });
  +
  +    videoElement.onResize.listen((dynamic _) {
  +      value = value.copyWith(
  +          rotation: 0,
  +          width: videoElement.videoWidth.toDouble() ?? 0.0,
  +          height: videoElement.videoHeight.toDouble() ?? 0.0,
  +          renderVideo: renderVideo);
  +      print('RTCVideoRenderer: videoElement.onResize ${value.toString()}');
       });
   
       // The error event fires when some form of error occurs while attempting to load or perform the media.
  
positive.code:   }
  }
  
  class RTCVideoView extends StatelessWidget {
    RTCVideoView(
      this._renderer, {
      Key key,
  
negative.code:   MediaStream get srcObject => _srcObject;
  
    set srcObject(MediaStream stream) {
      if (videoElement == null) throw 'Call initialize before setting the stream';
  
      if (stream == null) {
        videoElement.srcObject = null;
        _srcObject = null;
  