I was also looking for something similar to implement, WebRTC-WS bridge and vice versa (WebSockets over WebRTC). However, since this is probably more tested and implemented, I think this is a better one. I cannot use this because this misses a LICENSE file.
Thank you.
Sincerely,
Rishi.