mirror of
https://github.com/balzack/databag.git
synced 2025-02-11 19:19:16 +00:00
ice config on accept
This commit is contained in:
parent
0f51f7b5d4
commit
3e2b70c5ed
@ -187,7 +187,7 @@ export function useAppContext(websocket) {
|
|||||||
else if (activity.ring) {
|
else if (activity.ring) {
|
||||||
const { cardId, callId, calleeToken, ice, iceUrl, iceUsername, icePassword } = activity.ring;
|
const { cardId, callId, calleeToken, ice, iceUrl, iceUsername, icePassword } = activity.ring;
|
||||||
const config = ice ? ice : [{ urls: iceUrl, username: iceUsername, credential: icePassword }];
|
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 {
|
else {
|
||||||
setAppRevision(activity);
|
setAppRevision(activity);
|
||||||
|
Loading…
Reference in New Issue
Block a user