Fix sharing peer connection
This commit is contained in:
parent
c03dd4c551
commit
2ee6d43274
3 changed files with 49 additions and 28 deletions
|
@ -39,13 +39,13 @@ export class VideoPeer extends Peer {
|
|||
urls: 'stun:stun.l.google.com:19302'
|
||||
},
|
||||
{
|
||||
urls: TURN_SERVER,
|
||||
urls: TURN_SERVER.split(','),
|
||||
username: TURN_USER,
|
||||
credential: TURN_PASSWORD
|
||||
},
|
||||
]
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
//start listen signal for the peer connection
|
||||
this.on('signal', (data: unknown) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue