Skip to content

Commit 5b6a110

Browse files
fix: #7 v3 attempt stun issue on desktop
1 parent 01f95fc commit 5b6a110

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/src/components/pair-room-content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export function PairRoomContent({
209209
pc.onnegotiationneeded = async () => {
210210
console.log("Negotiation needed");
211211
const sdp = await pc.createOffer();
212-
await pc.setLocalDescription();
212+
await pc.setLocalDescription(sdp);
213213
console.log("Set local description (offer)", sdp.type);
214214
emitOffer({ sdp, roomId });
215215
};

0 commit comments

Comments
 (0)