Xamarin.Forms Vidyo.IO "OnLocalCameraStateUpdated" (Connector.IRegisterLocalCameraEventListener) callback not called

156 Views Asked by At

I need help regarding vidyo.io SDK in xamarin. I code based on the provided github repo for sample purpose. My problem is i cant see the camera preview in my custom renderer.

1

There are 1 best solutions below

0
On BEST ANSWER

You have to find RefreshUI() method inside VidyoController.cs and add:

   _connector.AssignViewToCompositeRenderer(_videoView.Handle, Connector.ConnectorViewStyle.ConnectorviewstyleDefault, 15);

Before _connector.ShowViewAt(....); It will reassign your view as display a preview