During a video and voice call, you can check its current quality in levels from 1 to 5.
Users sometimes complain about their service problems even if the call quality is poor or disconnected because of their network problems. Therefore, it is possible to inform users of their network problems in advance or to handle various UIs.
Currently, this call quality data can be received once every 5 seconds.
You can get the quality data by implementing onStat(), one of the methods of listener, which you input as an input argument when you create a Remon object. The result.rating data obtained from the above result is the integrated call quality information according to the network situation.
@OverridepublicvoidonStatReport(RemonStatReport report) {Logger.i(TAG,"report: "+report.getHealthRating());String stat ="health:"+report.getHealthRating().getLevel() +"\n"; }
let remonCall =RemonCall()remoCall.onRemonStatReport{ (stat) inlet rating = stat.getRttRating()// Do something}