【发布时间】:2017-11-17 17:40:00
【问题描述】:
生成所有候选后,IceGatheringState 应该处于 COMPLETE 状态。但是 IceGatheringState 处于 GATHERING 状态,只有在信号状态变为 CLOSED 时才会进入 COMPLETE。
PeerConnection::OnIceGatheringChange 已被调用一次,IceGatheringState 变为 GATHERING 状态,但在所有候选者生成后 IceGatheringState 仍处于 GATHERING 状态。当呼叫断开时,信令状态变为 CLOSED,然后只有 IceGatheringState 处于 COMPLETE 状态。
@Override
public void onIceGatheringChange(PeerConnection.IceGatheringState newState) {
Log.d(TAG, "IceGatheringState: " + newState);
}
有人知道吗?我正在使用 AppRTCMobile 应用程序在 Ubuntu 16.0.4 中构建 android webrtc
【问题讨论】: