MT#55676 Call to the webRTC not working properly

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

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

Loading…
Cancel
Save