看文档: https://docs.agora.io/cn/video-call-4.x/API%20Reference/web_ng/interfaces/iagorartcclient.html#getrtcstats

`getRTCStats` 方法内会返回通话的一些统计信息,其中包括在当前频道内的时长