fix(ui) - peerjs iceserver config
This commit is contained in:
parent
4b9f8bdf8e
commit
549b8a4e40
1 changed files with 4 additions and 2 deletions
|
|
@ -155,11 +155,13 @@ export default class AssistManager {
|
|||
host: new URL(window.ENV.API_EDP).host,
|
||||
path: '/assist',
|
||||
port: location.protocol === 'https:' ? 443 : 80,
|
||||
sdpSemantics: 'unified-plan'
|
||||
}
|
||||
|
||||
if (iceServers) {
|
||||
_config['config'] = iceServers;
|
||||
_config['config'] = {
|
||||
iceServers: iceServers,
|
||||
sdpSemantics: 'unified-plan',
|
||||
};
|
||||
}
|
||||
|
||||
const peer = new Peer(_config);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue