openvidu-testapp: fix error when no remote ice candidate
This commit is contained in:
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…
x
Reference in New Issue
Block a user