# Webrtc Video Chat Example

**URL:** <https://community.wowza.com/t/webrtc-video-chat-example/53093>\
**Category:** Wowza Streaming Engine\
**Tags:** webrtc\
**Created:** [March 27, 2019, 8:04pm UTC](https://community.wowza.com/t/webrtc-video-chat-example/53093 "2019-03-27T20:04:55Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glaucio\_Rocha1](https://avatars.discourse-cdn.com/v4/letter/g/3ab097/32.png) [@Glaucio\_Rocha1](https://community.wowza.com/u/Glaucio_Rocha1)\
**Post date:** [March 27, 2019, 8:04pm UTC](https://community.wowza.com/t/webrtc-video-chat-example/53093/1 "2019-03-27T20:04:55Z")

</div>

Greetings,

Where I can find a HTML 5 Webrtc video chat example?

To show the all the videos on the same page? Local and remote.

Thanks in advance,

Robert

---

<div class="post-metadata">

**Author:** ![Alex\_C](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@Alex\_C](https://community.wowza.com/u/Alex_C)\
**Post date:** [March 28, 2019, 12:50am UTC](https://community.wowza.com/t/webrtc-video-chat-example/53093/2 "2019-03-28T00:50:52Z")

</div>

Hello @Glaucio Rocha,

We do not offer the WebRTC Chat example any longer.  
You should be able to check the Publish and Play examples and then combine that functionality to push and pull in any available videos on the webrtc application.

[WebRTC publish and play examples](https://www.wowza.com/downloads/webrtc/webrtcexamplepages.zip)

Hope this clears up your question.

Regards,

Alex C.

---

<div class="post-metadata">

**Author:** ![Emre\_Karatasoglu\_Adv](https://avatars.discourse-cdn.com/v4/letter/e/0ea827/32.png) [@Emre\_Karatasoglu\_Adv](https://community.wowza.com/u/Emre_Karatasoglu_Adv)\
**Post date:** [March 28, 2019, 10:20am UTC](https://community.wowza.com/t/webrtc-video-chat-example/53093/3 "2019-03-28T10:20:40Z")

</div>

I prepare sample application with nodejs ( for signalling ) & html client with javascript,

its working n to n . Gonna share this on my github repo.

---

<div class="post-metadata">

**Author:** ![Glaucio\_Rocha1](https://avatars.discourse-cdn.com/v4/letter/g/3ab097/32.png) [@Glaucio\_Rocha1](https://community.wowza.com/u/Glaucio_Rocha1)\
**Post date:** [March 28, 2019, 2:01pm UTC](https://community.wowza.com/t/webrtc-video-chat-example/53093/4 "2019-03-28T14:01:56Z")

</div>

Thanks guys!

I need a example like this: [https://www.youtube.com/watch?v=bn9E990ecUQ](https://www.youtube.com/watch?v=bn9E990ecUQ)

Using only Wowza, not nodejs or any external software (we are trying Wonza Windows version).

Best,

Glaucio

---

<div class="post-metadata">

**Author:** ![Emre\_Karatasoglu\_Adv](https://avatars.discourse-cdn.com/v4/letter/e/0ea827/32.png) [@Emre\_Karatasoglu\_Adv](https://community.wowza.com/u/Emre_Karatasoglu_Adv)\
**Post date:** [March 28, 2019, 10:28pm UTC](https://community.wowza.com/t/webrtc-video-chat-example/53093/5 "2019-03-28T22:28:33Z")

</div>

@Glaucio you misunderstood i think. The webrtc stream works on wowza of course. Unfortunately all the video chat stuff can not be handled by wowza 🙂

The nodejs or any other backend needed for communicating clients ( in my case nodejs application )

Sample nodejs application grant you to connect to video chat room,

When client joins

then my api connect to the wowza websocket and start to publish stream as you see image. Then get the connected client list in video chat room. if there is users , then it starts to play their stream 😉

I dont know you are a developer or not but let me clear that

if you try to do video chat example

you need a sample html page that user login ,

you need to know who is in the room so you need to handle the login . Best practice is [socket.io](http://socket.io).

you need to connect wowza webrtc via websocket

In my sample

in html , I use [socket.io](http://socket.io) client & jquery

in backend I use nodejs for connecting mysql ( for user login credentials control ) and socket server.

in my wowzagateway api , the publish & play process handled such as getOffer sendResponse etc

The scenario is

- the user login through my html ( basic user pass credentials entered and clicking login ) the info post to the nodejs

- nodejs check the user and make him join to given room ( in demo I directly make it join to 1 number room )

\*client start to publish stream with my api

- client get the active user list via socketio from nodejs

- client start to playback stream with my api

The api supports n to n wowza webrtc communication ( group call )

I will share this sample after text chat features added

---

<div class="post-metadata">

**Author:** ![Emre\_Karatasoglu\_Adv](https://avatars.discourse-cdn.com/v4/letter/e/0ea827/32.png) [@Emre\_Karatasoglu\_Adv](https://community.wowza.com/u/Emre_Karatasoglu_Adv)\
**Post date:** [March 29, 2019, 3:33pm UTC](https://community.wowza.com/t/webrtc-video-chat-example/53093/6 "2019-03-29T15:33:17Z")

</div>

Hi, finally i finish the sample application,

---

<div class="post-metadata">

**Author:** ![Glaucio\_Rocha1](https://avatars.discourse-cdn.com/v4/letter/g/3ab097/32.png) [@Glaucio\_Rocha1](https://community.wowza.com/u/Glaucio_Rocha1)\
**Post date:** [March 29, 2019, 7:28pm UTC](https://community.wowza.com/t/webrtc-video-chat-example/53093/7 "2019-03-29T19:28:08Z")

</div>

Great job Emre! 🙂

---

<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:** [March 29, 2019, 7:32pm UTC](https://community.wowza.com/t/webrtc-video-chat-example/53093/8 "2019-03-29T19:32:39Z")

</div>

Really awesome Emre- thanks for sharing!

---

<div class="post-metadata">

**Author:** ![Emre\_Karatasoglu\_Adv](https://avatars.discourse-cdn.com/v4/letter/e/0ea827/32.png) [@Emre\_Karatasoglu\_Adv](https://community.wowza.com/u/Emre_Karatasoglu_Adv)\
**Post date:** [April 3, 2019, 2:42pm UTC](https://community.wowza.com/t/webrtc-video-chat-example/53093/9 "2019-04-03T14:42:35Z")

</div>

Hi @Glaucio Rocha and others, here is the wowza webrtc group call sample with chat feautures. Lots of things to be done , however it’s fine now.

[https://github.com/Lethea/wowza-webrtc-group-call-and-chat](https://github.com/Lethea/wowza-webrtc-group-call-and-chat)

Follow the instruction

---

<div class="post-metadata">

**Author:** ![Teodor\_Nica1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/teodor_nica1/32/1348_2.png) [@Teodor\_Nica1](https://community.wowza.com/u/Teodor_Nica1)\
**Post date:** [June 13, 2019, 3:01pm UTC](https://community.wowza.com/t/webrtc-video-chat-example/53093/10 "2019-06-13T15:01:17Z")

</div>

Hi,

The [Broadcast Live Video turnkey streaming site solution](https://broadcastlivevideo.com) implements Wowza SE WebRTC live streaming and you can see test it live at [Video Now Live](https://videonow.live) .

It’s available as free open source WordPress plugin you can download. Running it involves configuring Wowza SE and some other advanced server requirements as described in documentation.
