Reputation: 1
I'm using agora cloud recording to record the live stream. It's working fine for all the users except the host(publisher). The call is connected and the all users can listen to each other in live call mode, but when I got the recorded file from the stop method, I couldn't listen myself(host or pubsliher)
Here is the code that I'm using in the start method `
const data = {
cname: me.props.channel,
uid: USER_ID.toString(),
clientRequest: {
token: me.state.token,
recordingConfig: {
videoStreamType: 0,
maxIdleTime: 30,
streamTypes: 2,
audioProfile: 1,
channelType: 0,
},
}
Upvotes: 0
Views: 465
Reputation: 16
The Problem in the Payload of Start API, You have missed these Params in the PayLoad
**"subscribeVideoUids": [subscribeVideoUids],
"subscribeAudioUids": [subscribeAudioUids],**
in the both params you have to passed host uID and then your stop api will works fine.
Upvotes: 0