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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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