UnityRenderStreaming
UnityRenderStreaming copied to clipboard
[BUG]: The function call for "sendCandidate" in the Signaling / WebSocketSignaling has a different parameter order
Package version
3.1.0-exp.8
Environment
* OS:Any
* Unity version:Any
* Graphics API: Any
* Browser: Any
This is a logical issue with the code.
Steps To Reproduce
- In "signaling.js" you have a "Signaling" class and "WebSocketSignaling" class each with its own "sendCandidate" function definition
- Notice on the "Signaling" class the sendCandidate signature is "sendCandidate(candidate, sdpMid, sdpMLineIndex) { "
- Notice on the "WebSocketSignaling" class the sendCandidate signature is "sendCandidate(candidate, sdpMLineIndex, sdpMid) { "
- In "video-player.js" it calls the signaling variable with the "sdpMid" first no matter what signaling object is used:
_this.signaling.sendCandidate(e.candidate.candidate, e.candidate.sdpMid, e.candidate.sdpMLineIndex);
We noticed connection issues on the latest IOS17 update and this was part of the issue we fixed.
Current Behavior
No response
Expected Behavior
Reorder the parameters in the WebSocketSignaling to fix the issue.
Anything else?
No response