freddyaboulton HF staff commited on
Commit
a3adf13
·
verified ·
1 Parent(s): 0704e01

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -157,8 +157,8 @@
157
  method: 'POST',
158
  headers: { 'Content-Type': 'application/json' },
159
  body: JSON.stringify({
160
- sdp: offer.sdp,
161
- type: offer.type,
162
  webrtc_id: webrtc_id
163
  })
164
  });
 
157
  method: 'POST',
158
  headers: { 'Content-Type': 'application/json' },
159
  body: JSON.stringify({
160
+ sdp: peerConnection.localDescription.sdp,
161
+ type: peerConnection.localDescription.type,
162
  webrtc_id: webrtc_id
163
  })
164
  });