feross / simple-peer

📡 Simple WebRTC video, voice, and data channels
MIT License
7.38k stars 971 forks source link

The sample code does not work properly #903

Open louisho5 opened 2 years ago

louisho5 commented 2 years ago

Hi guys, I am currently facing a problem on 9.11.1 When give input on textarea and press submit button, the console warns below message:

error Error: signal() called with invalid signal data
    at p.signal (simplepeer.min.js:6:83376)
    at HTMLFormElement.<anonymous> (index.html:28:14)

Sample code on JSFiddle

How can I fix this sample? Thanks a lot.