Wowza Community

Ingest WebRTC TCP and playback WebRTC UDP

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.

1 Like

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

<IceCandidateIpAddresses>

node, in the

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

file, with a pipe “|” separated list of values according to the WebRTC setup article

<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.

1 Like

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

May I use the same IP?

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?