Convos IRC client now supports video chat

栏目: IT技术 · 发布时间: 5年前

内容简介:ConvosIf you are just testing out Convos, you won’t see any button to start the video chat. The reason for this is that the underlying technology require a, aand optionally aserver.WebRTC will (probably) not function properly if you connect to Convos witho

Convos v4.08 is fresh from the bakery, and this time we are proud to announce video support!

How do I enable video support in Convos?

If you are just testing out Convos, you won’t see any button to start the video chat. The reason for this is that the underlying technology require a, aand optionally aserver.

A secure connection

WebRTC will (probably) not function properly if you connect to Convos without a secure connection. SSL certificates can either be bought or set up for free with Let’s Encrypt . If you expose Convos directly on the internet you can specify the certificates from the command line:

./script/convos daemon --listen "https://*:8443?cert=./server.crt&key=./server.key"

Keep in mind that the STUN and TURN server also require secure connections.

STUN server

The absolute minimum to enable video support is a STUN server . This server is needed for clients to exchange basic information for how to reach each other.

To start Convos with a given STUN server, you need to specify the CONVOS_STUN environment variable. Example:

CONVOS_STUN=stun://stun.services.mozilla.com:3478 ./script/convos daemon

A STUN server does not require much bandwidth, so there are many free alternatives to choose from. If you want to set up your own server then Coturn is a solid project to try out.

TURN server

A TURN server might be needed some cases where the network between the two clients is “complicated”. The two clients will in that case send the video and audio streams to the TURN server, instead of using peer-to-peer connections.

To start Convos with a given TURN server, you need to specify the CONVOS_TURN environment variable. Example:

CONVOS_TURN=turn://superwoman:[email protected]:3478

There are (to my knowledge) no free alternatives for this, so you have to set up your own server for this. The Coturn server also supports TURN, so you only need one external server to get a video connection for all cases.

How do I start a video chat?

Once you have started Convos with the CONVOS_STUN environment variable, you can go to any conversation and there should be a video camera symbol on the right side of the conversation name.

Convos IRC client now supports video chat

Clicking on the video button will notify the other user(s) in the conversation that you are ready to video chat. Any other user can then join and you will then see and hear each other.

Who can I video chat with?

The signalling protocol use IRC to send the WebRTC signals. The signalling protocol is however specific for Convos, so you can only video chat with other people who have the same Convos version as yourself.

Why is video support currently experimental?

There are several reasons why video support is currently marked as experimental:

  • The signalling protocol might cause issues for certain IRC networks. It is unknown which, but there are no guaranty that it will work with your favorite IRC server/network.
  • The signalling protocol might change/break in future versions of Convos.
  • There are very little error handling currently implemented. You probably have to peak into the developer console in your browser to look for issues if video does not work for you.

What is next?

We hope to stabilize video support in Convos v5.00 . It might sound like that that is way into the future, but in reality Convos will jump from 4.xx to 5.00 once video support seems to work properly.

Want to help? Give us feedback either in #convos on freeenode.net or on GitHub .


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

增长黑客

增长黑客

范冰 / 电子工业出版社 / 2015-7-1 / CNY 59.00

“增长黑客”这一概念近年来兴起于美国互联网创业圈,最早是由互联网创业者Sean Ellis提出。增长黑客是介于技术和市场之间的新型团队角色,主要依靠技术和数据的力量来达成各种营销目标,而非传统意义上靠砸钱来获取用户的市场推广角色。他们能从单线思维者时常忽略的角度和难以企及的高度通盘考虑影响产品发展的因素,提出基于产品本身的改造和开发策略,以切实的依据、低廉的成本、可控的风险来达成用户增长、活跃度上......一起来看看 《增长黑客》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换