- Home /
Web RTC connection dropping
Hi,
I'm trying establish a WebRTC connection, with a data channel, between the unity editor and my Oculus quest 2. I have the offer and answer exchanges figured out.
My issue:
If both devices are on the same network the RTCIceConnectionState makes it all the way to Connected, the data channel opens, and a couple second later the connection drops.
If the devices are on different networks the connection gets stuck in the Checking state.
Any debugging tips or tricks?
I've resolved this issue.
For posterities sake.
The remote host does not need to wait for dataChannel.OnOpen. When OnDataChannel fires you are good to go. Add a OnMessage handler and you're off.
Your answer
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
View ID AllocatedID: # not found during lookup. Strange behaviour may occur 1 Answer
How do I [SyncVar] non-basic atributes? 0 Answers
Animating over a network not working 0 Answers
User limit for NetworkDiscovery 0 Answers