Skip to content

[BUG]: Candidate missing values when using bidirectional #1003

Open
@miguel-krasamo

Description

@miguel-krasamo

Package version

3.1.0-exp.8

Environment

* OS: MacOs and Windows
* Unity version: 2022.3.39f1
* Graphics API: Unsure
* Browser: Firefox | Chrome

Steps To Reproduce

1.- Run Web App with private mode.
2.- Start Unity App connecting programatically to a connection ID.
3.- Open bidirectional page.
4.- Connect manually web app to connection ID hardcoded in app.
5.- Disconnect from website after successful connection.

Current Behavior

Unity shows an error about candidate, it seems it has some empty values and it breaks subsequent connections.

it seems to be sharing the following data:
const data = {
'candidate': '',
'sdpMLineIndex': 0,
'sdpMid': sdpMid,
'connectionId': connectionId
};

Expected Behavior

If I disconnect from the website and start again the connection I should be connecting

Anything else?

I'm using latest main branch as there was a fix for some connections accordingly to descriptions.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions