簡體   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