Open yulian948 opened 1 year ago
Hello,
Currently we only have the metrics defined in ObservableMetric
. I'll mark this as a feature request for additional metrics similar to RTCStatsReport
in amazon-chime-sdk-js. Is there a particular metric that you were looking for?
Thanks for your answer @alnlau! It would be awesome to have access to RTCStatsReport
.
No particular metric, I just want to have more of them available, the same as I have when using WebRTC.
In the meantime, while looking through the code, I found ClientMetricsCollector protocol which is implemented by DefaultClientMetricsCollector
class. There is a comment in that protocol:
... takes the raw metrics from the native client ...
Does it mean that I can implement that protocol in my app and receive more metrics than currently available through ObservableMetric
enum?
Answering my previous question:
It is not possible to implement ClientMetricsCollector protocol and use own implementation instead of DefaultClientMetricsCollector
, because it is not possible to replace it in DefaultMeetingSession.swift.
Bump this as we need something similar to audioDownstreamJitterMs
, audioUpstreamJitterMs
and audioUpstreamRoundTripTimeMs
which are all implemented in the js sdk
In https://github.com/aws/amazon-chime-sdk-js there is a
ClientMetricReport
class, which containsRTCStatsReport
. Is there anything similar in the Chime iOS SDK? Currently, I only see theMetricsObserver::metricsDidReceive
method, which returns a dictionary of metrics but is limited to the metrics defined inObservableMetric
enum.