繁体   English   中英

如何通过linphonec拨打没有视频的电话?

[英]How to call without video by linphonec?

我是从Debian的官方网站构建Linphone的:

$ ./linphone --version
linphone 4.1.1-655-g95245907

$ ./linphonec --version
version: 3.12.0

我尝试在linphonec中进行语音通话以测试电话,但收到错误消息:

> call 891********8
2019-03-06 17:13:20:391 liblinphone-error-LinphoneCore has video disabled for both capture and display, but video policy is to start the call with video. This is a possible mis-use of the API. In this case, video is disabled in default LinphoneCallParams
Error from linphone_core_invite.

好的,可以启用仅语音设置吗? 对的,这是可能的:

> help call
'call <sip-url or number>  [options]'   : initiate a call to the specified destination.
Options can be:
--audio-only : initiate the call without video.
--early-media : sends audio and video stream immediately when remote proposes early media.

不错的选择--audio-only 试试吧:

> call 891********8 --audio-only
2019-03-06 17:14:01:951 liblinphone-error-LinphoneCore has video disabled for both capture and display, but video policy is to start the call with video. This is a possible mis-use of the API. In this case, video is disabled in default LinphoneCallParams
Error from linphone_core_invite.

此选项不起作用。

问:如何在默认的LinphoneCallParams中禁用视频? 怎么做?

我遇到了类似的问题,我想出的解决方案可能会有所帮助。

我的问题:

linphonec> call 5201
2019-04-13 02:47:38:771 liblinphone-error-LinphoneCore has video disabled   for both capture and display, but video policy is to start the call with video.  This is a possible mis-use of the API. In this case, video is disabled in default LinphoneCallParams
Error from linphone_core_invite.     <----- THE REAL PROBLEM

解决方案是包括域。 对我来说是:

linphonec> call sip:5201@172.31.0.1
2019-04-13 02:53:00:103 liblinphone-error-LinphoneCore has video disabled for both capture and display, but video policy is to start the call with video. This is a possible mis-use of the API. In this case, video is disabled in default LinphoneCallParams
Establishing call id to sip:5201@172.31.0.1, assigned id 2
Call 2 to sip:5201@172.31.0.1 in progress.
Media streams established with sip:5201@172.31.0.1 for call 2 (audio).

暂无
暂无

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

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