# WebRTC + Firefox = ICE failed each 1 in 6-10 attempts. It is Wowza or Mozilla fault?

**URL:** <https://community.wowza.com/t/webrtc-firefox-ice-failed-each-1-in-6-10-attempts-it-is-wowza-or-mozilla-fault/50559>\
**Category:** Wowza Streaming Engine\
**Tags:** webrtc\
**Created:** [January 15, 2018, 3:57pm UTC](https://community.wowza.com/t/webrtc-firefox-ice-failed-each-1-in-6-10-attempts-it-is-wowza-or-mozilla-fault/50559 "2018-01-15T15:57:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marco\_Balieiro](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Marco\_Balieiro](https://community.wowza.com/u/Marco_Balieiro)\
**Post date:** [January 15, 2018, 3:57pm UTC](https://community.wowza.com/t/webrtc-firefox-ice-failed-each-1-in-6-10-attempts-it-is-wowza-or-mozilla-fault/50559/1 "2018-01-15T15:57:41Z")

</div>

My application is to stream IP Live Cameras up to 64 mosaic on the client.

It works marvelous fine on Chrome but in Firefox, it simply fail about 15% of attempts.

All my tests are on local network and one thing I notice is lack of one line on the server log.

On Chrome it always shows the follows (it never failed):

```auto
INFO server comment - WebRTCRTPHandler.bind: port:3
INFO server comment - WebRTCRTPHandler.bind: port:4
INFO server comment - WebRTCDTLSHandlerThread.run: Handshake complete

```

On Firefox, some times it didn’t shown the lines above and when this happens, it came to a ICE Failed on the client console.

Can you help me? It some bug on the DTLS Handshake on Firefox or Wowza WebRTC Preview implementation?

Appreciate any help cause I intend to use this in production level (it is taking too long for WebRTC to exit preview level and since it work perfectly in Google Chrome I will take the risk)

PS: I own 5 perpectual licenses of wowza stream engine.

---

<div class="post-metadata">

**Author:** ![Cody\_Uptain2](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Cody\_Uptain2](https://community.wowza.com/u/Cody_Uptain2)\
**Post date:** [January 18, 2018, 11:45am UTC](https://community.wowza.com/t/webrtc-firefox-ice-failed-each-1-in-6-10-attempts-it-is-wowza-or-mozilla-fault/50559/2 "2018-01-18T11:45:12Z")

</div>

I am having this same issue in Firefox

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [December 10, 2020, 8:10pm UTC](https://community.wowza.com/t/webrtc-firefox-ice-failed-each-1-in-6-10-attempts-it-is-wowza-or-mozilla-fault/50559/3 "2020-12-10T20:10:12Z")

</div>

Please be sure when using WebRTC with Firefox, **you have UDP enabled** as the ice candidate. Firefox with TCP is not a supported webrtc workflow at this time at Wowza in Streaming Engine.

To make sure you have UDP enabled as the top ICE candidate in Streaming Engine, please click here:

> [@Quick WebRTC Playback with Firefox Reminder](http://community.wowza.com/t/quick-webrtc-playback-with-firefox-reminder/55617):
>
> Do note that currently in Wowza Streaming Engine you will need to enable UDP to make WebRTC work in Firefox. WebRTC over TCP on Firefox is not supported at this time. You can make this change in the Ice Candidate section in Engine Manager when configuring your WebRTC stream. 1. If you need to add UDP as an additional ICE Candidate and make it first priority, you can if you’d like. You can adjust their preferred order using the Priority up and down arrows.
