本文介绍了将opentok视频会议集成到parse.com + iOS应用程序中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

这个问题不仅针对代码而且针对我的应用程序设计。

This question is not only aimed at code but my app design as well.

我有一个需要opentok来处理视频/音频会话的iphone应用程序。
我已经通过了,但我感到困惑的是会话管理。

I have an iphone app that requires opentok to handle the video/audio sessions.I have gone through basic samples but what I am confused about is session management.

例如,如果我的iphone应用程序想要从mapview调用用户,如果我拥有的是该用户的位置(坐标),我该怎么做?

For example, if my iphone app wants to call a user from a mapview, how do I do that if all I have is this user's location (coordinates)?

如何确保我发布的会话以某种方式获得该特定用户并且该用户订阅了该会话?目前我的应用程序中没有任何后端。我可能拥有的是N个用户的位置数据,他们可以通过我的iphone应用程序通过opentok会话互相交谈。我们假设目前每个会话只有2个用户是我的要求。

How do I ensure that the session I am publishing gets to that particular user somehow and that user subscribes to it? Currently I don't have any backend in my app. All I may have is location data of N users, who can possibly talk with each other through my iphone app, via opentok session. Let's just assume currently only 2 users per session is my requirement.

我也知道有一些但我根本无法将所有东西收集在整齐的包中并构建它。我的意思是,我应该在Parse中存储什么?我应该期望它与opentok自动完成什么?依此类推。

I also know there is some integration between opentok and parse but I simply can't gather everything in a neat pack and build it. I mean to ask, what should I store in Parse? What should I expect it to do automatically with opentok? And so on.

任何帮助或任何有集成opentok视频的代码示例都将受到高度赞赏。如果有人使用解析来处理opentok会话,那将是我想要的。

Any help or any code example where someone has opentok video integrated will be highly appreciated. If anyone uses parse for handling opentok sessions it would be the thing I want.

更新:

好的,我有解析设置,也有数据选项卡下的数据。从这一点来说,我想知道我需要做些什么才能合并opentok视频? 教程是一个开始有点但不会把事情放在上下文中,我仍然感到脱节。需要一些更实用的例子。

OK, I have parse set up and also have data under data tab. From this point, I wonder what all I need to do for the ability to incorporate opentok video? Broadcast tutorial is a starting point but does not put things quite in context, I still feel disconnected. Some more practical example is needed.

推荐答案

我强烈感觉非常基础,完成了要求,但学习更陡峭曲线。所以我最终写出了我自己的应用程序兼教程:

I strongly felt that the tokbox tutorial was quite basic, accomplished the requirement but had steeper learning curve. So I ended up wrote out my own app-cum-tutorial:

我觉得有必要在这里发布:

I feel compelled to post it here:How To write your first iPhone Video Chat App using parse and opentok(tokbox)

这篇关于将opentok视频会议集成到parse.com + iOS应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 23:48