quickblox javascript sdk 一对一视频聊天 [英] quickblox javascript sdk one to one video chat

查看:57
本文介绍了quickblox javascript sdk 一对一视频聊天的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个在线解决方案系统中工作,其中有两种类型的用户可用:专家、普通用户.需要做两件事:

I am working in a system for on line solution where two types of user will be available: experts,normal user. 2 things is need to do:

1) 正常用户登录后,我想显示在线可用的专家列表以进行环聊.普通用户可以点击列表中的一位专家,点击专家将收到一个呼叫信号,他们可以进行通话.

1) after normal user login i want to show a list of expert available in the on line for hangout. Normal user can click one expert from the list and clicked expert will receive one call signal and they can have conversation.

2) 我需要视频通话的详细信息(来电者、接收者、持续时间、日期等)

2) I need video call details( caller, receiver, duration, date etc)

我想通过 javascript sdk 来做到这一点.我有 这个 git 存储库.

I want to do this by javascript sdk. I have this git repository.

问题:

1) 我应该在管理面板的应用程序用户列表中添加普通用户还是只需要在用户列表中添加专家用户?

1) should i need to add normal users in my application user list in admin panel or only need expert users in user list?

2)我想像谷歌环聊一样实现它(从联系人列表中呼叫用户,它会自动呼叫接收者,无需连接).我该如何实施?连接到聊天服务器后,普通用户会有一个在线专家用户列表.

2) I want to implement it like google hangout( call the user frm the contact list it will auto call the receiver no need to connect). How can i implement it? After connected to chat server normal users will have a list of online expert users.

3) 是否有在管理面板的应用程序用户列表中添加新用户的 php curl 示例?

3) is there any php curl example of adding new user in my application user list in admin panel?

对不起,如果任何问题是愚蠢的.我是 quickblox 的新手.

sorry if any question is stupid. I am new in quickblox.

提前致谢

推荐答案

有一些旧示例可以作为您遇到的情况的示例.

There are some old samples as examples for your situation.

要在登录聊天后查看在线列表中的用户,您应该先检查他们是否已存在于您的联系人列表(名册)中,然后才能拨打电话.

To see users in the online list after loging to chat, you should check, if they are already exist in your Contact List (Roster) or not, before you can do a call.

聊天示例:http://qblx.co/1y93i3e

名册逻辑:http://qblx.co/1y92n2D

视频通话示例(旧版本):http://quickblox.com/developers/Sample-videochat-web

The videocall sample (old version): http://quickblox.com/developers/Sample-videochat-web

新版本目前正在开发中.

The new version is currently under development.

QB 没有 PHP SDK 或任何示例,但也许您有兴趣查看一些 php 片段:

QB does not have PHP SDK or any samples for it, but maybe you will be interested to look at some php snippets:

http://quickblox.com/developers/Generate_session_in_PHP

https://gist.github.com/AndreyPovelichenko/111e84edd482492dc8bf

https://gist.github.com/AndreyPovelichenko/cad2241faa7149e20a7b

这篇关于quickblox javascript sdk 一对一视频聊天的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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