简体   繁体   English

ios如何使用Linphone核心启用视频通话

[英]ios How to enable video call using Linphone core

I'm using Linphone core to make a callable app. 我正在使用Linphone core制作可调用的应用程序。 Now I want to enable video call. 现在,我要启用视频通话。 Can anyone help me figure out all what I need to do it. 谁能帮助我找出我需要做的所有事情。

you can use tokbox's SDK for server and client side to establish video calling. 您可以使用tokbox的服务器端和客户端SDK进行视频通话。 Have a look over here . 看看这里

Liblinphone has a C-level API. Liblinphone具有C级API。 It's pretty OK documented but it's really hard to find. 记录还不错,但是很难找到。 The very best I can find about placing/receiving/managing calls (both audio and video) is the page: enter link description here 关于拨打/接听/管理呼叫(音频和视频)的最佳信息是以下页面: 在此处输入链接说明

You need this function to enable video: 您需要以下功能来启用视频:

void linphone_call_params_enable_video (LinphoneCallParams *cp, bool_t enabled)
// cp - LinphoneCallParams object
// enabled - A boolean value telling whether to enable video or not.

Liblinphone is really tricky sometimes. 有时Liblinphone确实很棘手。 There are several descriptions about video streaming inside the link I posted - check them too. 我发布的链接中有关于视频流的几种描述-也请检查它们。 There are not needed for my project - so the only one function I needed to enable video support is the one I posted - but maybe you'll need other functions too. 我的项目并不需要-因此启用视频支持所需的唯一功能就是我发布的功能-但也许您还需要其他功能。

Hope it'll help someday. 希望有一天会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM