This PR fixes the issue that the coroutine which the return value of GetStats method, doesn't change the status when calling it multiple times at the same time.
Add RTCStatsCollectorCallback class which manages the native handle of the GetStats callback, and define the dictionary of RTCStatsCollectorCallback in RTCPeerConnection class.
This PR fixes the issue that the coroutine which the return value of GetStats method, doesn't change the status when calling it multiple times at the same time.
Add
RTCStatsCollectorCallback
class which manages the native handle of theGetStats
callback, and define the dictionary ofRTCStatsCollectorCallback
in RTCPeerConnection class.