Trying to use the thetaV on windows in browser (chrome) for chatting and its not working

If it were me, I would look at a solution that was already working. For example, the WebRTC SFU API at the link below:

People were also using OpenTok with the THETA S. That might be a good starting point to get something working.

You can also look at this code for the THETA S, which has something working with navigator.getUserMedia()