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


#41

你的web端本来就是live模式呀,意思是你其他端最好也要保持一致,不然可能会有问题。
当然你现在出现的这个问题不一定是因为这个原因,只是一个可能性。毕竟没有具体的报错信息,只能逐步去分析了。。。


#42

我的web端是通话模式吧,怎么成功了live模式了
AgoraRTC.createClient({mode: ‘interop’})


#43

image


#44

好的,谢谢。


#45

Android将模式改为直播模式,无法接收到web的视频了。这个合流模式估计不行了


#46

https://docs.agora.io/cn/Interactive%20Broadcast/interop_android?platform=Android
android端还得打开互通接口


#47

我现在改了之后,Android端无法获取视频了。。。


#49

设置了参数 layoutMode:2 maxResolutionUid:uid,录制视频,移动端和web端视频会在一个视频文件里吗?我这里试了没有一点效果
输出日志如下:
appId:7579b2****cdd3981fe1f5790,uid:0,channelKey:005AQAoAEU0OTFFN0EwQTE4REM4RURBMTI1NjhCMzBBRjhGQUExODVEN0RGMDMQAHV5sjMzIUoBrN05gf4fV5BqgdpclDOGOAAAAAAAAA==,channelName:537cfc1da13949859cc273f1ba27e7e3,applitePath:/home/Agora/bin,channelProfile:0,getAudioFrame:0,getVideoFrame:0

,idle:3,lowUdpPort:40000,highUdpPort:51000,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/20190514/537cfc1da13949859cc273f1ba27e7e3_085052_579217143/

RecordingSDK joinChannel success, channelId:537cfc1da13949859cc273f1ba27e7e3, uid:3703774894

onUserJoined uid:1664115000,recordingDir:/home/Agora/video/20190514/537cfc1da13949859cc273f1ba27e7e3_085052_579217143/

user size:1

user:1664115000

java setVideoMixingLayout m_peers is not empty, start layout

mixing layout mode:2

begin adjust vertical presentation layout,peers size:1, maxResolutionUid:1664115000

adjustVideo5Layout equal with configured user uid:1664115000

user id:1664115000,x:0,y:0,width:0.8,height:1,alpha:1

onFirstRemoteAudioFrame User:1664115000, elapsed:181

onUserJoined uid:929129264,recordingDir:/home/Agora/video/20190514/537cfc1da13949859cc273f1ba27e7e3_085052_579217143/

user size:2

user:1664115000

user:929129264

java setVideoMixingLayout m_peers is not empty, start layout

mixing layout mode:2

begin adjust vertical presentation layout,peers size:2, maxResolutionUid:1664115000

adjustVideo5Layout equal with configured user uid:1664115000

user id:1664115000,x:0,y:0,width:0.8,height:1,alpha:1

user id:929129264,x:0.8,y:0,width:0.2,height:0.25,alpha:2

onFirstRemoteAudioFrame User:929129264, elapsed:182

pre receiving audio status is false, now receiving audio status is true

pre receiving video status is false, now receiving video status is true

RecordingSDK onUserOffline uid:929129264,offline reason:0

user size:1

user:1664115000

java setVideoMixingLayout m_peers is not empty, start layout

mixing layout mode:2

begin adjust vertical presentation layout,peers size:1, maxResolutionUid:1664115000

adjustVideo5Layout equal with configured user uid:1664115000

user id:1664115000,x:0,y:0,width:0.8,height:1,alpha:1

RecordingSDK onUserOffline uid:1664115000,offline reason:0

user size:0

RecordingSDK onLeaveChannel,code:12

RecordingSDK onError,error:3,stat code:16

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


#50

在吗,帮我看一下这个问题


#51

你的参数设置: isMixingEnabled = 0 mixedVideoAudio:0 isVideoOnly:0 isAudioOnly:0
是单流模式,每个 UID 生成一个音频文件、一个 mp4 或 webm 文件,且音视频分开。

你提供下合流+实时转码录制模式下的log文件啊,不然怎么排查错误


#52

还是要使用合流模式?


#53

那不然呢,单流就是分开的啊


#54

我们现在是把移动端改成直播模式,并打开了互通接口,结果移动端无法获取本地视频了,我现在卡在这里了


#55

现在也没有产生日志,我也没有办法。。真是头疼。。bin目录下没有产生任何日志文件


#56

现在web端和Android都设置成直播模式,合流还是报错。logLevel : 5Failed to create agora channel: 6625c4cdfd0f44e4a90b8ea12b061a97。。这个错误我再SDK中没有搜到。现在日志也没有,recording_sys.log、crash log 也没有。。。能告诉我日志存在什么位置吗?

appId:7579b233*****acdd3981fe1f5790,uid:0,channelKey:005AQAoADM5QkQ2QjZERjg1QjdDQkI3M0Y0MEZCMzMzNUNEQzNDREIxQjQ4MDIQAHV5sjMzIUoBrN05gf4fV5A1otpc1ayUkQAAAAAAAA==,channelName:33935547b89e46f0b71adc212fef5810,applitePath:/home/Agora/bin,channelProfile:1,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: 33935547b89e46f0b71adc212fef5810

AgoraJniProxySdk destructor begin

AgoraJniProxySdk destructor end


#57

该问题在https://rtcdeveloper.com/t/topic/14603中回复