Android Full Screen Android Problem
2 answers
I also face the same problem a while ago. Now I have a solution and it is as simple as that. Where you create sinch client in SinchService paste below code.
mSinchClient.getVideoController().setResizeBehaviour(VideoScalingType.ASPECT_FILL);
when you try to set the setResizeBehaviour function anywhere then the error clearly says the sinchClient has already been created, set it earlier.
Hope this helps you and others.
0
source to share
You need to use the server-side Sinch class. Sinch documentation is not written correctly.
Put this in a public class. SinchService extends the service.
mSinchClient.addSinchClientListener(new MySinchClientListener());
mSinchClient.getCallClient().addCallClientListener(new SinchCallClientListener());
mSinchClient.getVideoController().setResizeBehaviour(VideoScalingType.ASPECT_FILL);
mSinchClient.start();
0
source to share