I have implemented sinch video calling, and here is my code.
@Override
public void onClientStarted(SinchClient sinchClient) {
Log.e(TAG, "started");
callClient = sinchClient.getCallClient();
callClient.addCallClientListener(this);
}
public void initiateCall(String receiverId) {
Call call = callClient.callUserVideo(receiverId);
call.addCallListener(this);
}
But it always calling onCallEnded()
and here is error i am getting in it
SessionDetails [startTime=1460378041, endTime=1460378049, progressTime=0, establishTime=0, terminationCause=FAILURE,
packetsSent=0, packetsReceived=0, error=SinchError[errorType=OTHER,
code=4000, message='InternalServerError (2228479)',
data={serverCode=2228479, serverMessage=InternalServerError}]]