commit | 6094953ed15101dfeda6d347dc8106a948ca805c | [log] [tgz] |
---|---|---|
author | Chen Xing <chxg@google.com> | Fri Aug 16 14:00:30 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Aug 16 14:49:46 2019 |
tree | 98f7d68cb0dd6cf71e7674b19c40193862d4cb1b | |
parent | 2b9fa09fa3e3379fd8e76490c394f25670352ef2 [diff] |
Add helper functions to convert between integer milliseconds and fixed-point seconds. This change adds the following helper functions to convert between "integer milliseconds"-style timestamps and durations, and "UQ32.32 and Q32.32"-style NTP timestamps and durations: - Int64MsToQ32x32 - UInt64MsToUQ32x32 - Q32x32ToInt64Ms - UQ32x32ToUInt64Ms The Q-format NTP timestamps and durations are used by some RTP/RTCP packets. Bug: webrtc:10739 Change-Id: I89123d2dba7370f26e239d722a4975bf5ac6e668 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/148444 Commit-Queue: Chen Xing <chxg@google.com> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28878}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.