视频录制的时候报错,谁能帮忙看一下


#1

logLevel : 5Recording directory is /home/agora/video/20190509/30c2c3039c834688b9f415303682e201_101236_666931180/

RecordingSDK onError,error:2,stat code:3

java[103868]: (103868) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/rec_engine/RecordingEngineImpl.cpp:798: API call to stopped on error in event loop thread

java[103868]: (103868) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/rec_engine/RecordingEngineImpl.cpp:837: API call to leave channel in event loop thread

java[103868]: (103868) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/rec_engine/RecordingEngineImpl.cpp:807: API call to stopped on error not in event loop thread

java[103868]: (103868) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/rec_engine/RecordingEngineImpl.cpp:87: Recorder d000e6b0 is ready to be release

java[103868]: (103868) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/rec_engine/RecordingEngineImpl.cpp:110: Recording wrapper delete timer

java demo receive stop from JNI

jni layer stopped!jni layer stopped! Java_io_agora_record_AgoraJavaRecording_createChannel end

AgoraJniProxySdk destructor begin

AgoraJniProxySdk destructor end


#2

报这个错,
一般可能是 --appliteDir 路径设置错误,例如找不到AgoraCoreService。
你需要在"appliteDir":"", 设置一下AgoraCoreService文件的目录。


#3

谢谢,是这个问题,路径大小写搞错误了;
RecordingSDK onError,error:3,stat code:16这个好像是开始证书的原因,还在找解决办法


#4

这是频道内没有用户,录制正常退出了。也可以参考下FAQ文档
https://docs.agora.io/cn/Agora%20Platform/recording_related_faq?platform=录制相关#录制退出报错


#5

是的,谢谢。


#6

启用合流模式录制报错,,有点难受

appId:7579,uid:1664115000,channelKey:005AQAoAEJCQzVCMzIyRUMyRkMwQTZCNTFDQkVEMDNGMjNDMkZENThFMTE1MjUQAHV5sjMzIUoBrN05gf4fV5BGDNRciUhnAwAAAAAAAA==,channelName:7c52f0b2ca38421c81fa3be0614a0f03,applitePath:/home/Agora/bin,channelProfile:0,getAudioFrame:0,getVideoFrame:0

,idle:3,lowUdpPort:40000,highUdpPort:51000,captureInterval:5,mixedVideoAudio:2,mixResolution:,isVideoOnly:0,isAudioOnly:0,isMixingEnabled:1,triggerMode:0,proxyServer, audioProfile: 0

audio Profile :0audioIndicationInterval :0

logLevel : 5Failed to create agora channel: 7c52f0b2ca38421c81fa3be0614a0f03

AgoraJniProxySdk destructor begin

AgoraJniProxySdk destructor end


#7

看着频道加入好像也没成功;有完整的log吗,上面的看着不全


#8

没有有其他的错误了,只能看到这些,就告诉创建房间失败
appId:7579b*********790,uid:0,channelKey:005AQAoAEREQjlBM0M1QUJBNUIwMTI5MEZDMzVCNENFODBGNkM1MTUwRTk4RTEQAHV5sjMzIUoBrN05gf4fV5ByONVcaXvqzAAAAAAAAA==,channelName:48c24bfdff304de99e2852e1351dd553,applitePath:/home/Agora/bin,channelProfile:0,getAudioFrame:0,getVideoFrame:0

,idle:3,lowUdpPort:40000,highUdpPort:51000,captureInterval:5,mixedVideoAudio:1,mixResolution:,isVideoOnly:0,isAudioOnly:0,isMixingEnabled:1,triggerMode:0,proxyServer, audioProfile: 0

audio Profile :0audioIndicationInterval :0

logLevel : 5Failed to create agora channel: 48c24bfdff304de99e2852e1351dd553

AgoraJniProxySdk destructor begin

AgoraJniProxySdk destructor end


#9

AgoraCoreService[143480]: (143480): ERROR (16:53:47:255 | 46) 143489; [vocs/u] responsed from 106.14.12.130:1080 with error: 9, elapsed: 74, server ts: 1557478427215. connection aborted
AgoraCoreService[143480]: (143480) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/core_service/event_handler.cpp:1082: Error in mediasdk: 110, (null)
AgoraCoreService[143480]: (143480): INFO (16:53:47:255 | 0) 143490; Error in mediasdk: 110, (null)
java[143390]: (143390) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/rec_engine/RecordingEngineImpl.cpp:798: API call to stopped on error in event loop thread
java[143390]: (143390) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/rec_engine/RecordingEngineImpl.cpp:837: API call to leave channel in event loop thread
AgoraCoreService[143480]: (143480) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/core_service/event_handler.cpp:1597: event_loop Required to stop :0
AgoraCoreService[143480]: (143480) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/core_service/event_handler.cpp:1597: event_loop Required to stop :0
AgoraCoreService[143480]: (143480): INFO (16:53:47:257 | 2) 143480; event_loop Required to stop :0
AgoraCoreService[143480]: (143480): INFO (16:53:47:257 | 0) 143480; event_loop Required to stop :0
AgoraCoreService[143480]: (143480) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/core_service/event_handler.cpp:601: Before cleanup cnt 0, errno 11 4, joined_ 0, term_sig 0, leave path code 16
AgoraCoreService[143480]: (143480) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/core_service/event_handler.cpp:147: Leaving channel and ready to cleanup
AgoraCoreService[143480]: (143480): WARN (16:53:47:257 | 0) 143480; Before cleanup cnt 0, errno 11 4, joined_ 0, term_sig 0, leave path code 16
AgoraCoreService[143480]: (143480): INFO (16:53:47:257 | 0) 143489; Recording LeaveEvent Argus report…
AgoraCoreService[143480]: (143480): INFO (16:53:47:258 | 1) 143480; Leaving channel and ready to cleanup
AgoraCoreService[143480]: (143480): INFO (16:53:47:258 | 0) 143480; API call to leave channel
AgoraCoreService[143480]: (143480): INFO (16:53:47:258 | 0) 143489; [rp] {“rtc.audio.mute_peers”:true}
AgoraCoreService[143480]: (143480): INFO (16:53:47:258 | 0) 143489; [rp] {“rtc.video.mute_peers”:true}
AgoraCoreService[143480]: (143480): WARN (16:53:47:258 | 0) 143489; leaving channel that was not joined yet
AgoraCoreService[143480]: (143480): INFO (16:53:47:258 | 0) 143489; [cm] emit leave channel signal
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 2) 143489; stopLocalRender
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; stopLocalRender success
AgoraCoreService[143480]: (143480): WARN (16:53:47:260 | 0) 143489; stopCapture: VideoEngine haven’t startCapture
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; stopRemoteRender
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; [che] stopCall begins
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; [che] stop call returns -1, elapsed 0
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; [rs] **report stats: seq: 10, report list size 10, tx/rx: 1835/0, cache size: 0
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; [cm] connection state changed from 2 to 1
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; **CALL STATS: duration 0s, tx 2.301K bytes, rx 275 bytes, total 2.576K bytes
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; CacheManager: save cache to storage elapsed 1
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; delRef of media engine, ref=0
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; [che] chat engine destroying
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; stopLocalRender
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; stopLocalRender success
AgoraCoreService[143480]: (143480): WARN (16:53:47:260 | 0) 143489; stopCapture: VideoEngine haven’t startCapture
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; stopRemoteRender
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; [che] stopCall begins
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; [che] stop call returns -1, elapsed 0
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; stopLocalRender
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; stopLocalRender success
AgoraCoreService[143480]: (143480): INFO (16:53:47:260 | 0) 143489; stopRemoteRender
AgoraCoreService[143480]: (143480): WARN (16:53:47:260 | 0) 143489; stopCapture: VideoEngine haven’t startCapture
AgoraCoreService[143480]: (143480): INFO (16:53:47:271 | 11) 143489; PipelineManager::SetDest engine = (nil)
AgoraCoreService[143480]: (143480): WARN (16:53:47:271 | 0) 143489; terminate: VideoEngine haven’t init
AgoraCoreService[143480]: (143480): INFO (16:53:47:271 | 0) 143489; [DEBUGG] ViERenderManager Destructor, engine_id: 0
AgoraCoreService[143480]: (143480): INFO (16:53:47:281 | 10) 143489; AgoraCameraCapture::Dispose
AgoraCoreService[143480]: (143480): INFO (16:53:47:281 | 0) 143489; VideoSendTrackImpl::UpdateCapturer capturer=(nil)
AgoraCoreService[143480]: (143480): INFO (16:53:47:281 | 0) 143489; CreateVideoCapturer: interface=(nil)
AgoraCoreService[143480]: (143480): INFO (16:53:47:281 | 0) 143489; VideoSendTrackImpl::UpdateRenderer, renderer=(nil)
AgoraCoreService[143480]: (143480): INFO (16:53:47:281 | 0) 143489; CreateVideoRenderer: interface=(nil)
AgoraCoreService[143480]: (143480): INFO (16:53:47:312 | 31) 143489; [che] chat engine destroyed
AgoraCoreService[143480]: (143480): INFO (16:53:47:312 | 0) 143489; ***CALL END
AgoraCoreService[143480]: (143480): INFO (16:53:47:312 | 0) 143489; [cc] setLocalMuteAudioState: false, priority: 4
AgoraCoreService[143480]: (143480): INFO (16:53:47:312 | 0) 143489; [cc] setLocalMuteVideoState: false, priority: 4
AgoraCoreService[143480]: (143480): INFO (16:53:47:312 | 0) 143489; onAudioStatusChanged enable audio
AgoraCoreService[143480]: (143480): INFO (16:53:47:312 | 0) 143489; [MIO] media io controller destroyed
AgoraCoreService[143480]: (143480): INFO (16:53:47:312 | 0) 143480; async task worker thread exited gracefully
AgoraCoreService[143480]: (143480) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/core_service/event_handler.cpp:126: event handler delete timer
java[143390]: (143390) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/rec_engine/RecordingEngineImpl.cpp:807: API call to stopped on error not in event loop thread
java[143390]: (143390) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/rec_engine/RecordingEngineImpl.cpp:87: Recorder 20824010 is ready to be release
java[143390]: (143390) /var/lib/jenkins/workspace/agora-release-linux-2/ServerSDK-Video/src/rec_engine/RecordingEngineImpl.cpp:110: Recording wrapper delete timer


#10

你把他命令行的参数完整发过来看看

这种错误是参数上面的错误,有参数模式冲突。 比如裸数据模式和合图模式是相互冲突的等等, 需要看具体的参数设置


#11

appId:7579b2333*****3981fe1f5790,uid:0,channelKey:005AQAoAEQyNkU5NjQ5OTYwQjYyNTNBN0E0MjMyRTQ2OTMwMjc2Q0NFRjBGM0EQAHV5sjMzIUoBrN05gf4fV5DCPdVcCBrOoQAAAAAAAA==,channelName:4581ed542a5f4847a7275f020d072a6d,applitePath:/home/Agora/bin,channelProfile:0,getAudioFrame:0,getVideoFrame:0

,idle:3,lowUdpPort:0,highUdpPort:0,captureInterval:5,mixedVideoAudio:0,mixResolution:,isVideoOnly:0,isAudioOnly:0,isMixingEnabled:0,triggerMode:0,proxyServer, audioProfile: 0

audio Profile :0audioIndicationInterval :0

logLevel : 5Recording directory is /home/Agora/video/20190510/4581ed542a5f4847a7275f020d072a6d_090053_005843154/

RecordingSDK onError,error:110,stat code:1

java demo receive stop from JNI

jni layer stopped!jni layer stopped! Java_io_agora_record_AgoraJavaRecording_createChannel end

AgoraJniProxySdk destructor begin

AgoraJniProxySdk destructor end


#12

我开始用 合流模式发现不行,我现在不采用,还是报错,好像收不到 来自 Agora 服务器的包


#13

问题找到了,是因为channelKey的问题


#14

好的,赞:+1:


#15

马上试试合流模式,可就没有问题了


#16

合流模式还是不行
appId:757*****1fe1f5790,uid:0,channelKey:005AQAoADlFNDdFODkxMkNENUZGNDJBRkUzMzg4NzdDQUMzMzA0OUQ3QzRFNzUQAHV5sjMzIUoBrN05gf4fV5ATSNVcSGW4jAAAAAAAAA==,channelName:516329db4e4e4ae79c69c2bddf1f8255,applitePath:/home/Agora/bin,channelProfile:0,getAudioFrame:0,getVideoFrame:0

,idle:3,lowUdpPort:40000,highUdpPort:51000,captureInterval:5,mixedVideoAudio:1,mixResolution:,isVideoOnly:0,isAudioOnly:0,isMixingEnabled:1,triggerMode:0,proxyServer, audioProfile: 0

audio Profile :0audioIndicationInterval :0

logLevel : 5Failed to create agora channel: 516329db4e4e4ae79c69c2bddf1f8255

AgoraJniProxySdk destructor begin

AgoraJniProxySdk destructor end


#17

录制使用的是命令行,还是API?是c++ 还是Java?


#18

java,把demo集成到我项目当中的


#19

之前是可以,合流就不行了;合流模式你这边是怎么操作的?


#20

增加配置isMixingEnabled = 1,mixedVideoAudio= 1