我正在开发一个集成 Vidyo 的 Web 应用程序,我需要录制视频通话。我按照文档指南在我的服务器中安装了 Media Bridge Docker 映像。我在连接媒体桥时没有遇到问题,但实际上它既不录制视频也不录制音频。输出 .flv 文件仅显示 10 秒黑屏,并显示呼叫参与者的名称。
我的配置文件是:
width=1280
height=720
fps=30
kbps=2000
layout=1
maxParticipants=8
overlay=1
videoCodec=H264
audioCodec=AAC
maxCallDuration=180
presentationAllowed=1
presWidth=1280
presHeight=720
presFps=5
presKbps=300
destination="flv:/opt/vidyo/recordingTest.flv"
resourceId="test_recording"
token=<TOKEN HERE>
host="prod.vidyo.io"
mediaPorts="50000-50100"
publicIp="127.0.0.1"
log=debug
输出日志文件中的错误是:
[1050]: LmiAudioProcessing ERROR [System thread] LmiAudioProcessing.c:1208 LmiAudioProcessingSetVoiceProcessing scip_xmpp_audio_processing audio processing: special voice processing should be set to off prior to setting voice processing off.
[1050]: LmiAudioProcessing ERROR [System thread] LmiAudioProcessing.c:1219 LmiAudioProcessingSetVoiceProcessing scip_xmpp_audio_processing audio processing: unable to set voice processing off.
[1050]: LmiTransport ERROR [System thread] LmiTcpTransport.c:1435 LmiTcpTransportConstructAddressFromString Error resolving address roni.eng.vidyo.com:443: UnknownHost
[1050]: LmiSignaling ERROR [System thread] LmiStackConnection.c:36 LmiStackConnectionConstructOutbound Could not create connection to ed3df5eef18e3b0d
[1050]: XmppGateway ERROR [System thread] xmpp.c:1010 makeXmppCall failed: LmiUserLogin
[1050]: leg ERROR [System thread] leg.c:845 legStart epMakeCall failed. protocol: xmpp dest: room:demoRoom~token:<TOKEN>~server:roni.eng.vidyo.com config: addOverlay:on~caFile:/opt/vidyo/conf/openssl/certs/ca-certificates.crt~dropCall:on
[1050]: gwCall ERROR [System thread] call.c:1744 main failed: legStart 0
[126]: LmiAudioProcessing ERROR [System thread] LmiAudioProcessing.c:1208 LmiAudioProcessingSetVoiceProcessing scip_xmpp_audio_processing audio processing: special voice processing should be set to off prior to setting voice processing off.
[126]: LmiAudioProcessing ERROR [System thread] LmiAudioProcessing.c:1219 LmiAudioProcessingSetVoiceProcessing scip_xmpp_audio_processing audio processing: unable to set voice processing off.
[126]: writer ERROR [System thread] writer.c:876 writerUpdateStats failed: Assign audio stats
[126]: rtmp ERROR [System thread] rtmp.c:662 endpointGetStats failed: Update stats
[126]: leg ERROR [System thread] leg.c:1567 legGetStats failed: epGetStats failed
[126]: ScipXmppCommon ERROR xmpp scip_xmpp_common.c:269 sxcRemoteSourceAdded We already have video remote source - skip this one
[126]: LmiRtp ERROR xmpp LmiRtpSessionInline.h:294 LmiRtpSessionGetActiveRtpDestination 3LI/IGh+pOy/zbUmmgAa conn 1: Can't get active RTP destination from stopped session
[126]: LmiRtp ERROR xmpp LmiRtpSessionInline.h:294 LmiRtpSessionGetActiveRtpDestination 3LI/IGh+pOy/zbUmmgAa conn 2: Can't get active RTP destination from stopped session
[126]: XmppGateway ERROR xmpp xmpp.c:586 selectedParticipantListChanged failed: selected_participants_do_show_selected_n
[126]: leg ERROR videoRenderer leg.c:388 epCaptureVideo leg: xmpp get video frame failed
[126]: gwCall ERROR gw-tp-1 call.c:1472 peerCallEndTask legEndCall failed