ice config on accept

This commit is contained in:
Roland Osborne 2024-05-30 14:48:23 -07:00
parent 0f51f7b5d4
commit 3e2b70c5ed

View File

@ -187,7 +187,7 @@ export function useAppContext(websocket) {
else if (activity.ring) {
const { cardId, callId, calleeToken, ice, iceUrl, iceUsername, icePassword } = activity.ring;
const config = ice ? ice : [{ urls: iceUrl, username: iceUsername, credential: icePassword }];
ringContext.actions.ring(cardId, callId, calleeToken, ice);
ringContext.actions.ring(cardId, callId, calleeToken, config);
}
else {
setAppRevision(activity);