2

I'm making Videocall application with Flutter,WebRTC.

my IDE is Android studio.

I'm using RTCVideoRenderer.

but I can't use renderVideo property..

I searched about RTCVideoRenderer usage.

this link describes renderVideo property that can be used.

But I cant use renderVideo property..

Here is the error message:

There isn’t a setter named 'renderVideo' in class 'RTCVideoRenderer'.  Try correcting the name to reference an existing setter, or declare the setter.

How to resolve... this problem???

I can use another property..

NearHuscarl
  • 66,950
  • 18
  • 261
  • 230
Pwnnrvs
  • 21
  • 2

1 Answers1

4

First you initialize a renderer

 final _yourRenderer = RTCVideoRenderer();

and when you want to display it use:

RTCVideoView(_yourRenderer, mirror: true,)
kimeuvade
  • 221
  • 1
  • 8