MT#55676 Call to the webRTC not working properly

Change-Id: I33710393f2a3a8fee3716fbe186a91949d0e36c5
pull/19/head
Hugo Zigha 2 years ago
parent 9dfcfffe60
commit ab8e008b4f

@ -77,7 +77,9 @@ export default {
} else if (options.cause && !errorVisibilityTimer) {
context.commit('endCall', options.cause)
errorVisibilityTimer = setTimeout(() => {
context.commit('hangUpCall')
if (context.state.callState === 'ended') {
context.commit('hangUpCall')
}
errorVisibilityTimer = null
}, errorVisibilityTimeout)
}

Loading…
Cancel
Save