UnityRenderStreaming icon indicating copy to clipboard operation
UnityRenderStreaming copied to clipboard

[BUG]: createDataChannel on private connection end on an infinite loop: offer >> answer >> offer >> answer >> ...

Open VincentMarnier opened this issue 2 years ago • 1 comments

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

  1. In WebApp/client/bidirectional/js/sendvideo.js, in the function addTracks(connectionId), add _this.pc.createDataChannel(connectionId, "input");.
  2. 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 avatar Apr 20 '22 08:04 VincentMarnier

@VincentMarnier Thanks for reporting. We will check this issue.

memo: URS-437

kannan-xiao4 avatar Apr 26 '22 03:04 kannan-xiao4