PSA: the RTCStats timestamp_us method is going away

133 views
Skip to first unread message

Philipp Hancke

unread,
Jan 12, 2023, 2:01:32 AM1/12/23
to discuss...@googlegroups.com
As of
in M111 both the timestamp_us() method as well as the constructors taking an integer argument are marked as deprecated.

The constructors should be only used "internally" by libWebRTC such as in the stats collector and are unlikely to require action.
If you use the
  .timestamp_us()
method to get the time of the RTCStatsReport, you can replace this usage by
  .  timestamp().us()
to convert the timestamp object to microseconds.

I plan to remove the deprecated methods mid-february.

Philipp Hancke

unread,
Feb 24, 2023, 2:14:28 AM2/24/23
to discuss...@googlegroups.com
And this just got removed in
in M112.

As a follow-up, the RTCStatsReport constructor with the integer argument and the timestamp_us method are deprecated in M112:
and removal is planned for mid-march.

Updating should be trivial as before.
Reply all
Reply to author
Forward
0 new messages