fix WSPeer

whether WSPeer inherits from Peer as well as RTCPeer?
This commit is contained in:
dacapoday
2022-06-09 11:26:11 +08:00
committed by GitHub
parent a96dde25c0
commit a6bf4857dd

View File

@@ -413,7 +413,7 @@ class PeersManager {
}
class WSPeer {
class WSPeer extends Peer {
_send(message) {
message.to = this._peerId;
this._server.send(message);