(answer)
| 119 | } |
| 120 | |
| 121 | async function handleAnswer(answer) { |
| 122 | if (!pc) { |
| 123 | console.error('no peerconnection'); |
| 124 | return; |
| 125 | } |
| 126 | await pc.setRemoteDescription(answer); |
| 127 | } |
| 128 | |
| 129 | async function handleCandidate(candidate) { |
| 130 | if (!pc) { |
no test coverage detected