Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
getStats interface #82
From Shijun Sun:
I’ve been thinking more about the getStats() interface.
One possible way to separate it from other objects is probably to define it as
The “object” can be RtpSender, RtpReceiver, IceTransport, DtslTransport, SdesTransport, etc. and can be extended without changing other existing objects.
How about this?
typedef (RTCRtpSender or RTCRtpReceiver or RTCDtlsTransport or RTCIceTransport or RTCSctpTransport) RTCStatsObject;
pushed a commit
May 14, 2014
Shijun's proposal added in the latest editor's draft: