ts refactor RTCToNet.Peer