Class RtcStatsAdapter

  • All Implemented Interfaces:

    public class RtcStatsAdapter
    extends java.lang.Object
    implements RTCStatsCollectorCallback
    RtcStatsAdapter represents the Java layer object that manages the delivery of RtcStatsReports to the RtcStatsListeners. It does the following: 1. It holds references to the RtcStatsListeners until the time the RtcStatsReports are ready for delivery. 2. It receives the RTCStatsReport from the JNI layer. 3. It delivers the RTCStatsReport to the RtcStatsListeners when the RtcStatsReports for all the Peer Connections have been received.
    • Constructor Detail

      • RtcStatsAdapter

        public RtcStatsAdapter()
    • Method Detail

      • raiseOnRtcStats

        public void raiseOnRtcStats()
      • addRtcStatsListener

        public void addRtcStatsListener​( rtcStatsListener)
      • cleanup

        public void cleanup()