【问题标题】:Vidyo.io call recording issueVidyo.io 通话录音问题
【发布时间】:2019-12-30 12:23:00
【问题描述】:

我正在开发一个集成 Vidyo 的 Web 应用程序,我需要录制视频通话。我遵循documentation guide 并在我的服务器中安装了 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

【问题讨论】:

    标签: video-conferencing call-recording vidyo


    【解决方案1】:

    如果这有助于你尝试这个,这对我有用。你不需要 SIP 配置

    #main video/audio settings
    width=1280
    height=720
    fps=30
    kbps=2000
    layout=1
    maxParticipants=8
    overlay=1
    videoCodec=H264
    audioCodec=PCM
    maxCallDuration=180   # duration in minutes
    
    #Presentation settings
    presentationAllowed=1 #0 - ignore presentations 1 - replace main video with presentation
    presWidth=1280
    presHeight=720
    presFps=5
    presKbps=300
    destination="flv:/opt/vidyo/<call_id>.flv"
    
    #vidyo.io connection info
    resourceId="<room_id>"
    token="<call_token>"
    host="prod.vidyo.io"
    

    【讨论】:

    • @heliosophist 您的问题已解决,如果是,请接受我的回答,谢谢。
    猜你喜欢
    • 2017-11-13
    • 2021-06-24
    • 1970-01-01
    • 1970-01-01
    • 2023-03-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多