When a call or live interactive streaming ends, you can gather feedback on the quality of experience to improve your product by asking your users to rate the call or live interactive streaming.
The Agora SDK provides methods for you to collect your users' ratings and comments on the calls.
After the rating function is implemented, you can see your users' ratings in Agora Analytics, as shown in the figure below:
To rate the call:
- When you are in the channel, call the
getCallIdmethod to get current call ID.
- After leaving the channel, call the
ratemethod to rate the call.
// Swift // Get current call ID. Rate 5 and give description. agoraKit.rate(agoraKit.getCallId(), 5, "This is an awesome call!");
// Objective-C // Get current call ID. Rate 5 and give description. NSString* callId = [agoraKit getCallId]; [agoraKit rate:callId rating:5 description:@"This is an awesome call!"];