fix WSPeer
whether WSPeer inherits from Peer as well as RTCPeer?
What additional value does this PR bring? It seems the inheritance is not necessary as it works without it as well...
What additional value does this PR bring? It seems the inheritance is not necessary as it works without it as well...
I think this is a very hidden problem when fallback to websocket send msg and it can be reproduced
Steps to reproduce
-
force snapdrop fallback to websocket by breakpoint and change window.isRtcSupported=false

-
then send msg and file failed and console raise error

This error means WSPeer not properly initialized. Its really only have _send method!!
Ah, ok. Thanks for clarification and for helping to improve Snapdrop!