template chat

Chat templates

Since html5-chat is growing and has new extra features every day, it becomes difficult to understand and have a global view of all features and options he offers: in order to simplify the usage of the chat, we decided to create ready to go chat templates

What are chat templates ?

Templates are ready to go configurations of the chat so you can quickly start with a ready to go chat feature. This allows you to avoid to configure the chat to make the chat work for you

What are the chat templates available ?

For now we have 3 ready to go templates:

  1. tabAndWindow:
    This is a classical multi users chat where new private chats are in separated tabs and where webcams open in drag-gable windows
  2. roulette
    This is a chat roulette mode. It picks up randomly an available user and plays his webcam. It is based on the chatroulette concept
  3. Shoutbox:
    A simple text only chat. It is based on the concept of shoutbox where people can quickly writes text messages.

Where to set up a chat template ?

You have to login into your chatadmin as usual and choose the right template. Be careful: This action will overwrite all configuration of your actual chat. This can also be a good way to reset or restore a messed configuration chat and start with a clean configuration.

New templates will be added continuously.

How to add a web radio to your chat ?

What is a web radio ?

A web radio (also called internet radio), is a streaming service that allows you to broadcast your own radio through the web. Now days, it is very easy to start a free web radio over the web.

One of the most popular software to start a web radio is shoutcast

How to add it to your html5 chat ?

Once you have created your own radio, you will probably get an http links such as: http://mywebsite.com:8040/stream

Just copy and paste that link into your config panel, under webradio input text. A small audio player should then appear at the bottom of the chat.

audio radio player in the bottom of the chat

Generate screen shot of url in the chat

What is a screenshot preview ?

New feature: when sending an URL, it is now possible to generate a screenshot of the url : it means a picture of the url so users can preview the url before they decide to enter it.

This feature is only available for paid members of the chat.

How to activate it ?

You just need to go to your chatadmin panel and it will be present in the config panel.

How does it work ?

You just the screenshotUrl option and next time you will send an url, the chat will generate a screenshot of that url.

So when an user clicks on an url, he will get a modal popup before that previews the site, before he navigates to that url

Better chat news management

We have improved the news management system. You can set the time of the day when the news will be displayed.

news 1: between 12:30pm and 14:30pm
news 2: between 16:30pm and 18:30pm

You can also setup the frequency in minutes of each news
ex : news 1 will be displayed every 5 minutes.

Modal important news

For important news, you can also set up a modal news that will be displayed in a modal window when you enter the chat. This news will be displayed only once (ex: to announce an important event)

be displayed in a modal window when you enter the chat. This news will be displayed only once (ex: to announce an important event)

You can find these features as usually in your chatadmin panel

Better news announcement in chat
invitation

Invite user to watch my webcam

webcam photo

In chatadmin -> roles, you must check : “Can invite other users to watch his cam

User will be then able to send invitations to other users to watch his webcam.

User will be sent an invitation with 3 choices:

  1. accept: it will open the webcam
  2. deny: it will close the invitation
  3. mute: you will mute that user: this user will not be able to send you requests any more

By default, guest users cannot invite users to watch cam. And of course your webcam must be opened to onvite other users to watch at it !

Receive text chat from roles

Enable to disable receiving text chat by role

You can now filter what role can receive text chat from what role.

This is suitable for scenarios such as conference or shows:

users can only receive text chat from performers but not from other users.

To enable this features, go to roles in your chatadmin panel and unselect/select roles you need:

 

 

Audio only

Audio chat

New feature for html5-chat: audio only.

You can now choose between audio and video (default) and audio only.

To enable audio only mode, go to your chatadmin panel -> config ->webcam and choose audio only in the selection list as shown below:

audioOnlyConfig

This allow to run the chat as audio only and chat will not have access to your webcam.

You can now disable webcam as well

Besides in audio+video mode, you can now disable your webcam and keep audio only.

Switch off the camera with the camera toggle switch button:

 

Chat roulette mode

Chat roulette mode

The new chatroulette mode allows to pick a random webcam from all available public webcams and watch it.

This mode is similar to the concept of roulette chats available of the web.

How to activate roulette chat button on your site ?

As usual, go to your admin panel, choose chat config, then choose webcam tab.

and check the roulettechat option.

Only public webcams (opened as opened by members) can be watched in chatroulettemode.

webrtcConference

New webrtc servers : new webrtc technology

webrtc

New webrtc mediasoup servers technos

We finally dropped 2 webrtc technologies:

Kurento: the CPU usage was too high

Janus: too many “black cams”

and we have chosen mediaSoup which represents an excellent compromise of reliability and compatibility.

This allows us to keep CPU light and be compatible with ALL available browsers:

Chrome, firefox, Safari, IOS and Android.

We do not support Edge because Edge is end game and will be replaced by Chromium in 2019

Notice that for IOS, only Safari 12.2 and above will allow users to stream and watch streams