是否可以将 Asterisk 作为启用 WebRTC 的移动应用程序的信令服务器 [英] Is it possible to have Asterisk as the signalling server for WebRTC enabled mobile app

查看:22
本文介绍了是否可以将 Asterisk 作为启用 WebRTC 的移动应用程序的信令服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将 Asterisk 作为启用 WebRTC 的移动应用程序的信令服务器.我发现我需要在 node.js 中创建信令服务器.我想知道 Asterisk 是否可以为我完成这项工作.

Is it possible to have Asterisk as the signaling server for WebRTC enabled mobile app. I have found that I need to create the signaling server in node.js. I was wondering whether Asterisk can do the job for me.

此外,WebRTC 媒体是否通过信令服务器(或)直接设备到设备媒体传输.

Also, does the WebRTC media pass through the signaling server (or) is it direct device to device media transfer.

感谢任何帮助.谢谢你.:)

Any help is appreciated. Thank you. :)

推荐答案

如果你想要单独的 WebRTC 信号切换,那么你可以使用一些 websocket 服务器,比如 socket.io,但它不会处理 STUN 或 TURN.

If you want WebRTC signal switching alone then you can use some websocket server like socket.io but it won't handle STUN or TURN.

如果您想要 WebRTC 信号以及 STUN、TURN 和媒体录制,那么您可以使用 Kurento、Freeswitch、asterisk 等.

If you want WebRTC signalling along with STUN,TURN and media recording then you can go with Kurento, Freeswitch, asterisk etc.

如果您通过信令服务器传输媒体,那么您可能会在服务器端消耗更多的 CPU 和内存处理.尽量保持对等直接媒体,以获得更好的音频和视频.

If you carry media over signalling server then you might consume more CPU and memory processing on server side. Try to keep peer-peer direct media to get better audio and video.

但在所有这些情况下,您都需要将端点注册到信令服务器.所以如果你从 A 调用 B,信令服务器知道 B 在哪里!

But in all these case you need to register your endpoints to the signalling server. So if you call B from A. the signalling server knows where B is!

这篇关于是否可以将 Asterisk 作为启用 WebRTC 的移动应用程序的信令服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆