Wowza Community

WebRTC UDP vs TCP

Hi

How does the WebRTC player in chrome decide whether to use UDP or TCP?

I did a few connections and watched with wireshark… the first one I made worked with UDP… then I stopped and reconnected and it used TCP.
I have the firewall open for output from the server on all ports/protocols so dont think its that.

I would prefer for the client to use UDP if possible.

Thanks!
James

If you have UDP selected as the first Ice candidate in your Engine webrtc settings, it will try that first. Do you have it configured that way?



You can have both enabled and adjust their preferred order using the Priority up and down arrows.

1 Like