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 .


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

查看所有标签

猜你喜欢:

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

代码之美

代码之美

Grey Wilson / 聂雪军 / 机械工业出版社 / 2008年09月 / 99.00元

《代码之美》介绍了人类在一个奋斗领域中的创造性和灵活性:计算机系统的开发领域。在每章中的漂亮代码都是来自独特解决方案的发现,而这种发现是来源于作者超越既定边界的远见卓识,并且识别出被多数人忽视的需求以及找出令人叹为观止的问题解决方案。 《代码之美》33章,有38位作者,每位作者贡献一章。每位作者都将自己心目中对于“美丽的代码”的认识浓缩在一章当中,张力十足。38位大牛,每个人对代码之美都有自......一起来看看 《代码之美》 这本书的介绍吧!

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具