Agora-RESTful-Service
Agora-RESTful-Service copied to clipboard
Agora Cloud Recording Video Call Unable to Record Local Video and Audio
Bug Description:
The agora video call recording result is not showing the local video and audio (only showing the other user)
This is the video call from flutter web looks like
Steps to Produce:
- Video call from flutter web to flutter android app
- Request permissions
- Start the cloud recording
- End the video call
- End the cloud recording
Expected Result: The recording result shows both users
So, I use composite cloud recording with this payload to start the recording
{ 'cname': channel, 'uid': uid, 'clientRequest': { 'token': token, 'recordingConfig': { 'channelType': 0, // communication profile 'streamTypes': 2, // subscribe to both video and audio streams 'audioProfile': 1, // mono, bitrate up to 128 kbps 'videoStreamType': 0, // high quality stream 'maxIdleTime': 3600, 'transcodingConfig': { 'width': 1920, 'height': 1080, 'fps': 30, 'bitrate': 3150, 'mixedVideoLayout': 3, // 1 for best fit layout (grid view), 3 for custom layout (need to set the layoutConfig) 'backgroundColor': '#000000', 'layoutConfig': [ { 'uid': subscribedUids[0], 'x_axis': 0.0, 'y_axis': 0.0, 'width': 1.0, 'height': 0.5, 'alpha': 1.0, 'render_mode': 1 }, { 'uid': subscribedUids[1], 'x_axis': 0.0, 'y_axis': 0.5, 'width': 0.5, 'height': 0.5, 'alpha': 1.0, 'render_mode': 1 }, { 'x_axis': 0.5, 'y_axis': 0.5, 'width': 0.5, 'height': 0.5, 'alpha': 1.0, 'render_mode': 1 } ] }, 'subscribeVideoUids': subscribedUids, 'subscribeAudioUids': subscribedUids, 'subscribeUidGroup': 0 }, 'recordingFileConfig': { 'avFileType': ['hls', 'mp4'] }, 'storageConfig': { 'vendor': 6, 'region': 0, 'bucket': agoraBucket, 'accessKey': agoraStorageAccessKey, 'secretKey': agoraStorageSecretKey, } } }