[WebRTC] OnIceConnectionChange : state is failed

Dear,

I made a relay server for sdp, candidate and it had a public IP on AWS.
(stun server use “stun:stun.l.google.com:19302”)

[Scenario 1] => result : Ok, works well.
A User : A network
B User : B network
(A and B network have different public ip)

[Scenario 2] => result : the ice connection is failed.
A User : A network
B User : B network (the NAT envrionment is set up DMZ or TwinIP)
(A and B network have different public ip)

Additionally, the janus is working well on the scenario 2.
(https://janus.conf.meetecho.com/videoroomtest.html)
→ also it uses to “stun:stun.l.google.com:19302”

If anyone knows a solution to this, please reply.

Hi, what version of the WebRTC package are you using?
We have updated the native library recently, there might be impact about your issue.

1 Like

Thanks for your reply.

The used WebRTC version is 3.0.0-pre.4.

I look forward to your answer.

8752309--1185925--webrtc_package.png

I assume that the reason is some codecs doesn’t support simulcast. Honestly, we haven’t tested simulcast features.
What video codec are you using?

Dear,
There is no special setting for the video codec.
Do I need to do anything to set up the video codec?

The documentation of video components is here.
https://docs.unity3d.com/Packages/com.unity.renderstreaming@3.1/manual/video-streaming.html

Dear,

Video Codec is Default.

Thanks for your reply.

This problem is solved.
Firewall port setting of a turn server were the cause of the problem.

Thanks for replies.

1 Like