webrtc/modules/rtp_rtcp/source
Niels Möller c3fa8e1ce7 New method RtpReceiver::GetLatestTimestamps.
The two timestamps, rtp time and corresponding system time, are always
used together, for audio/video sync. The new method reads both
timestamps, without releasing a lock in between. Ensures that the
caller gets values corresponding to the same packet.

Bug: webrtc:7135
Change-Id: I25bdcbe9ad620016bfad39841b339c266efade14
Reviewed-on: https://webrtc-review.googlesource.com/4062
Commit-Queue: Niels Moller <nisse@webrtc.org>
Commit-Queue: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20120}
2017-10-03 16:14:29 +00:00
..
rtcp_packet Move rtcp packet classes from rtp_rtcp to rtp_rtcp_format target 2017-09-15 17:36:30 +00:00
byte_io.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
byte_io_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
dtmf_queue.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
dtmf_queue.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
fec_private_tables_bursty.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
fec_private_tables_random.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
fec_test_helper.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
fec_test_helper.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
flexfec_header_reader_writer.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
flexfec_header_reader_writer.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
flexfec_header_reader_writer_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
flexfec_receiver.cc Change ForwardErrorCorrection class to accept one received packet at a time. 2017-09-18 14:58:59 +00:00
flexfec_receiver_unittest.cc Change ForwardErrorCorrection class to accept one received packet at a time. 2017-09-18 14:58:59 +00:00
flexfec_sender.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
flexfec_sender_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
forward_error_correction.cc Fix wrap-around logic in ForwardErrorCorrection. 2017-10-02 15:18:22 +00:00
forward_error_correction.h Change ForwardErrorCorrection class to accept one received packet at a time. 2017-09-18 14:58:59 +00:00
forward_error_correction_internal.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
forward_error_correction_internal.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
nack_rtx_unittest.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
packet_loss_stats.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
packet_loss_stats.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
packet_loss_stats_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
playout_delay_oracle.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
playout_delay_oracle.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
playout_delay_oracle_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
receive_statistics_impl.cc Simplify ReceiveStatistics: merge GetActiveStatisticians into RtcpReportBlocks 2017-09-18 13:19:36 +00:00
receive_statistics_impl.h Simplify ReceiveStatistics: merge GetActiveStatisticians into RtcpReportBlocks 2017-09-18 13:19:36 +00:00
receive_statistics_unittest.cc Simplify ReceiveStatistics: merge GetActiveStatisticians into RtcpReportBlocks 2017-09-18 13:19:36 +00:00
remote_ntp_time_estimator.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
remote_ntp_time_estimator_unittest.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtcp_nack_stats.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtcp_nack_stats.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtcp_nack_stats_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtcp_packet.cc Move rtcp packet classes from rtp_rtcp to rtp_rtcp_format target 2017-09-15 17:36:30 +00:00
rtcp_packet.h Move rtcp packet classes from rtp_rtcp to rtp_rtcp_format target 2017-09-15 17:36:30 +00:00
rtcp_packet_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtcp_receiver.cc Trigger rtt and stats update on report block rather than receiver report. 2017-09-28 10:29:59 +00:00
rtcp_receiver.h Trigger rtt and stats update on report block rather than receiver report. 2017-09-28 10:29:59 +00:00
rtcp_receiver_unittest.cc Trigger rtt and stats update on report block rather than receiver report. 2017-09-28 10:29:59 +00:00
rtcp_sender.cc Remove encoding code from RtcEventLogImpl and use RtcEventLogEncoder instead 2017-10-03 15:26:56 +00:00
rtcp_sender.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtcp_sender_unittest.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_fec_unittest.cc Fix wrap-around logic in ForwardErrorCorrection. 2017-10-02 15:18:22 +00:00
rtp_format.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_format.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_format_h264.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_format_h264.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_format_h264_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_format_video_generic.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_format_video_generic.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_format_video_generic_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_format_vp8.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_format_vp8.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_format_vp8_test_helper.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_format_vp8_test_helper.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_format_vp8_unittest.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_format_vp9.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_format_vp9.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_format_vp9_unittest.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_header_extension_map.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_header_extension_map_unittest.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_header_extensions.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_header_extensions.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_header_parser.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_packet.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_packet.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_packet_history.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_packet_history.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_packet_history_unittest.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_packet_received.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_packet_received.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_packet_to_send.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_packet_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_payload_registry.cc Convert PayloadUnion from a union to a class, step 2 2017-09-28 23:23:07 +00:00
rtp_payload_registry_unittest.cc Convert PayloadUnion from a union to a class, step 2 2017-09-28 23:23:07 +00:00
rtp_receiver_audio.cc Convert PayloadUnion from a union to a class, step 2 2017-09-28 23:23:07 +00:00
rtp_receiver_audio.h Delete redundant logic for setting is_first_packet_in_frame 2017-09-27 06:45:15 +00:00
rtp_receiver_impl.cc New method RtpReceiver::GetLatestTimestamps. 2017-10-03 16:14:29 +00:00
rtp_receiver_impl.h New method RtpReceiver::GetLatestTimestamps. 2017-10-03 16:14:29 +00:00
rtp_receiver_strategy.cc Convert PayloadUnion from a union to a class, step 1 2017-09-28 18:32:37 +00:00
rtp_receiver_strategy.h Convert PayloadUnion from a union to a class, step 1 2017-09-28 18:32:37 +00:00
rtp_receiver_unittest.cc Convert PayloadUnion from a union to a class, step 1 2017-09-28 18:32:37 +00:00
rtp_receiver_video.cc Convert PayloadUnion from a union to a class, step 2 2017-09-28 23:23:07 +00:00
rtp_receiver_video.h Delete redundant logic for setting is_first_packet_in_frame 2017-09-27 06:45:15 +00:00
rtp_rtcp_config.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_rtcp_impl.cc Trigger rtt and stats update on report block rather than receiver report. 2017-09-28 10:29:59 +00:00
rtp_rtcp_impl.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_rtcp_impl_unittest.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_sender.cc Remove encoding code from RtcEventLogImpl and use RtcEventLogEncoder instead 2017-10-03 15:26:56 +00:00
rtp_sender.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_sender_audio.cc Convert PayloadUnion from a union to a class, step 1 2017-09-28 18:32:37 +00:00
rtp_sender_audio.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_sender_unittest.cc Remove encoding code from RtcEventLogImpl and use RtcEventLogEncoder instead 2017-10-03 15:26:56 +00:00
rtp_sender_video.cc Convert PayloadUnion from a union to a class, step 1 2017-09-28 18:32:37 +00:00
rtp_sender_video.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rtp_utility.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_utility.h Convert PayloadUnion from a union to a class, step 3 2017-10-02 08:53:30 +00:00
rtp_utility_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
time_util.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
time_util.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
time_util_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
tmmbr_help.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
tmmbr_help.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
ulpfec_generator.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
ulpfec_generator.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
ulpfec_generator_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
ulpfec_header_reader_writer.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
ulpfec_header_reader_writer.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
ulpfec_header_reader_writer_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
ulpfec_receiver_impl.cc Change ForwardErrorCorrection class to accept one received packet at a time. 2017-09-18 14:58:59 +00:00
ulpfec_receiver_impl.h Change ForwardErrorCorrection class to accept one received packet at a time. 2017-09-18 14:58:59 +00:00
ulpfec_receiver_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
video_codec_information.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00