UnityRenderStreaming
UnityRenderStreaming copied to clipboard
[BUG]: createDataChannel on private connection end on an infinite loop: offer >> answer >> offer >> answer >> ...
Package version
3.1.0-exp.3
Environment
* OS: Windows10
* Unity version: Unity 2020.3.24f1
* Graphics API: I have no idea, the default Windows one
* Browser: Edge/Chrome/Firefox
Steps To Reproduce
- In
WebApp/client/bidirectional/js/sendvideo.js
, in the functionaddTracks(connectionId)
, add_this.pc.createDataChannel(connectionId, "input");
. - Using the bidirectional demo, set up a unity client first and then a web client (using the unity client's connection Id)
Current Behavior
We loop on an offer >> answer >> offer >> answer >> ... behaviour. Connection seems established though.
Expected Behavior
We establish the connection and stop trying to handshake at some point.
Anything else?
We don't loop if we set up the web client first and then the unity client.
@VincentMarnier Thanks for reporting. We will check this issue.
memo: URS-437