【问题标题】:InternalServerError (2228479) in Sinch VideoCallingSinch 视频通话中的内部服务器错误 (2228479)
【发布时间】:2017-08-16 17:18:27
【问题描述】:

我已经实现了 sinch 视频通话,这是我的代码。

@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);
}

但它总是调用onCallEnded(),这是我遇到的错误

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}]]

【问题讨论】:

  • 你能分享更多的logcat吗
  • 这是我在 onCallEnded() 中得到的唯一内容。
  • 如果你实现 onLogMessage 你应该得到更多的东西,
  • 你有解决办法吗?我在应用到应用语音通话时遇到同样的错误
  • @DivyangPanchal 还没有

标签: android sinch android-sinch-api


【解决方案1】:

我得到了同样的错误,它从今天开始出现,只是我认为在我只更改通知设置后出现的错误,但事实并非如此,然后我查看了更多细节,我发现问题的原因是这两行在我的 Localizable.strings 文件中

SIN_INCOMING_VIDEO_CALL = "Incoming video call";
SIN_INCOMING_VIDEO_CALL_DISPLAY_NAME = "Incoming video call from %@";

所以我刚刚删除了这两个,一切对我来说都很好,虽然我正在研究为什么这些到文本行会造成问题,

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-07-27
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多