Agora 云录制在 azure 中分离音频和视频文件,但我需要一个包含音频和视频的文件
Agora cloud recording separating audio and video files in azure, but I need one file with both audio and video
const request = {
uid: '999',
cname: `${channelName}`,
clientRequest: {
token: EventService.getRecordingToken(channelName),//tocken of 999
recordingConfig: {
maxIdleTime: 120,
streamTypes: 2,
channelType: 0,
videoStreamType: 0,
subscribeVideoUids: [idsToUse.uId + ""],
subscribeAudioUids: [idsToUse.uId + ""],
subscribeUidGroup: 0
},
recordingFileConfig: {
avFileType: ["hls"]
},
storageConfig: {
accessKey: process.env.AZURE_ACCESS_KEY,
region: 3,//The region parameter has no effect, whether or not it is set.(Ref:https://docs.agora.io/en/cloud-recording/cloud_recording_api_rest?platform=RESTful)
bucket: `${process.env.AZURE_CONTAINER_NAME}`,
secretKey: process.env.AZURE_SECRET_KEY,
vendor: 5
}
}
};
这是我为我的应用程序直播的个人录制开始录制配置。
通过这个,我得到了 2 个文件,一个是 .audio.m3u8,第二个是 .video.m3u8,但我的要求只是一个包含音频和视频的文件。有人可以在这方面帮助我吗?
const request = {
uid: '999',
cname: `${channelName}`,
clientRequest: {
token: EventService.getRecordingToken(channelName),//tocken of 999
recordingConfig: {
maxIdleTime: 120,
streamTypes: 2,
channelType: 0,
videoStreamType: 0,
subscribeVideoUids: [idsToUse.uId + ""],
subscribeAudioUids: [idsToUse.uId + ""],
subscribeUidGroup: 0
},
recordingFileConfig: {
avFileType: ["hls"]
},
storageConfig: {
accessKey: process.env.AZURE_ACCESS_KEY,
region: 3,//The region parameter has no effect, whether or not it is set.(Ref:https://docs.agora.io/en/cloud-recording/cloud_recording_api_rest?platform=RESTful)
bucket: `${process.env.AZURE_CONTAINER_NAME}`,
secretKey: process.env.AZURE_SECRET_KEY,
vendor: 5
}
}
};
这是我为我的应用程序直播的个人录制开始录制配置。 通过这个,我得到了 2 个文件,一个是 .audio.m3u8,第二个是 .video.m3u8,但我的要求只是一个包含音频和视频的文件。有人可以在这方面帮助我吗?