# Ingest WebRTC TCP and playback WebRTC UDP

**URL:** https://community.wowza.com/t/ingest-webrtc-tcp-and-playback-webrtc-udp/54274
**Category:** Wowza Streaming Engine
**Tags:** webrtc
**Created:** [December 2, 2019, 5:13pm UTC](https://community.wowza.com/t/ingest-webrtc-tcp-and-playback-webrtc-udp/54274 "2019-12-02T17:13:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jerome\_BARRES1](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@Jerome\_BARRES1](https://community.wowza.com/u/Jerome_BARRES1)
#### Post date: [December 2, 2019, 5:13pm UTC](https://community.wowza.com/t/ingest-webrtc-tcp-and-playback-webrtc-udp/54274/1 "2019-12-02T17:13:23Z")

</div>

Hi,  
I want to push an WebRTC TCP stream from Chrome (as quality with TCP seems better) to Wowza Streaming Engine and be able to playback with all browsers including Firefox (requires UDP).

As the stream as no audio (Screen capture) webRTC is fine but I need to acces the same stream over TCP and UDP.

Is there a way to share the stream between an TCP an UDP app?

All others solutions are welcome;-)

Thanks

Jerome.

---

<div class="post-metadata">

### Author: ![Taylor\_Zahora1](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@Taylor\_Zahora1](https://community.wowza.com/u/Taylor_Zahora1)
#### Post date: [December 2, 2019, 5:27pm UTC](https://community.wowza.com/t/ingest-webrtc-tcp-and-playback-webrtc-udp/54274/2 "2019-12-02T17:27:14Z")

</div>

Hi Jerome,

Thank you for reaching out via the Wowza Community Forum. To serve WebRTC from Wowza Streaming Engine (WSE) via both TCP and UDP, update the

```auto
<IceCandidateIpAddresses>

```

node, in the

```auto
[install-dir]/conf/[app-name]/Application.xml

```

file, with a pipe “|” separated list of values according to the [WebRTC setup article](https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine#configure-webrtc-in-wowza-streaming-engine)

```auto
<IceCandidateIpAddresses>
	[wse-host-public-ip],tcp,1935|[wse-host-public-ip],udp
</IceCandidateIpAddresses>

```

When Firefox (FF) establishes a session, it will use the UDP IceCandidateIpAddress, and when Chrome establishes a session, it will use TCP.

_\*Be sure to restart the server after making changes._

---

<div class="post-metadata">

### Author: ![Jerome\_BARRES1](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@Jerome\_BARRES1](https://community.wowza.com/u/Jerome_BARRES1)
#### Post date: [December 2, 2019, 5:34pm UTC](https://community.wowza.com/t/ingest-webrtc-tcp-and-playback-webrtc-udp/54274/3 "2019-12-02T17:34:13Z")

</div>

Thanks,  
I didn’t figure I could use both protocols in the same app…

May I use the same IP?

---

<div class="post-metadata">

### Author: ![Jerome\_BARRES1](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@Jerome\_BARRES1](https://community.wowza.com/u/Jerome_BARRES1)
#### Post date: [December 2, 2019, 7:17pm UTC](https://community.wowza.com/t/ingest-webrtc-tcp-and-playback-webrtc-udp/54274/4 "2019-12-02T19:17:16Z")

</div>

Thanks for this answer.

I didn’t figure I could use both protocols in the same app…

It seems I can use the same IP for TCP or UDP.

However, If I publish with Chrome, how can I chose to specify which protocol to use?
