This slows the UI, but only for people who have locally opted into
WebRTC calls, and the alternative is that users are likely to have stale
settings the first time a pair of people opt-in.
// FREEBIE
@ -424,7 +424,7 @@ protocol CallServiceObserver: class {
Logger.debug("\(TAG) called \(#function)")
guardself.thread!=nilelse{
handleFailedCall(error:.assertionError(description:"ignoring remote ice update for thread: \(thread.uniqueId) since there is no current thread. TODO: Signaling messages out of order?"))
handleFailedCall(error:.assertionError(description:"ignoring remote ice update for thread: \(thread.uniqueId) since there is no current thread. Call already ended?"))
return
}
@ -960,7 +960,9 @@ protocol CallServiceObserver: class {
call.state=.localFailure
callUIAdapter.failCall(call,error:error)
}else{
assertionFailure("\(TAG) in \(#function) but there was no call to fail.")