0644b1dc35
A new RtpRtcpClock interface has been added to rtp_rtcp_defines.h and provides time facilities used by an RTP/RTCP module. Also, NTP constants have been made public in the webrtc::ModuleRTPUtility namespace to make implementation of external clocks easier. An overloaded version of CreateRtpRtcp() accepts a clock argument. By default, if no clock is provided, the module uses the system clock (old ModuleRTPUtility implementation). Throughout the RTP/RTCP module code, calls to TickTime and ModuleRTPUtility time functions have been replaced with calls to time methods on a clock object. The following classes take a clock object in their constructor and hold a _clock field (either directly, or inherited from a parent): Bitrate ModuleRtpRtcpImpl RTCPReceiver RTCPSender RTPReceiver RTPSender RTPSenderAudio RTPSenderVideo Methods from other classes that do not derive any of those and require a time take an additional nowMS parameter, that should be the result of calling GetTimeInMS() on a clock object. Review URL: http://webrtc-codereview.appspot.com/268017 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1076 4adac7df-926f-26a2-2b94-8c16560cd09d |
||
---|---|---|
.. | ||
build | ||
common_audio | ||
common_video | ||
modules | ||
system_wrappers | ||
video_engine | ||
voice_engine | ||
common_settings.gypi | ||
common_types.h | ||
engine_configurations.h | ||
LICENSE | ||
LICENSE_THIRD_PARTY | ||
PATENTS | ||
README.chromium | ||
typedefs.h |
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.