Package 

Class RtcStatsAdapter

  • All Implemented Interfaces:
    tvi.webrtc.RTCStatsCollectorCallback

    
    public class RtcStatsAdapter
     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 s 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.

    • Method Summary

      Modifier and Type Method Description
      synchronized void onStatsDelivered(RTCStatsReport statsReport)
      synchronized void raiseOnRtcStats()
      synchronized void addRtcStatsListener(RtcStatsListener rtcStatsListener)
      synchronized void cleanup()
      • Methods inherited from class tvi.webrtc.RTCStatsCollectorCallback

        onStatsDelivered
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait