mirror of https://github.com/OpenVidu/openvidu.git
openvidu-testapp: fix error when no remote ice candidate
parent
4d5f75ecb4
commit
e2b88fe265
|
@ -417,6 +417,9 @@ export class TestScenariosComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
|
||||
private parseRemoteCandidatePair(candidateStr: string) {
|
||||
if (!candidateStr) {
|
||||
return 'ERROR: No remote candidate available';
|
||||
}
|
||||
const array = candidateStr.split(/\s+/);
|
||||
return {
|
||||
portNumber: array[5],
|
||||
|
|
Loading…
Reference in New Issue