()
| 111 | } |
| 112 | |
| 113 | async function createOffer() { |
| 114 | try { |
| 115 | const offer = await pc1.createOffer(offerOptions); |
| 116 | gotDescription1(offer); |
| 117 | } catch (e) { |
| 118 | onCreateSessionDescriptionError(e); |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | function onCreateSessionDescriptionError(error) { |
| 123 | console.log(`Failed to create session description: ${error.toString()}`); |
nothing calls this directly
no test coverage detected