webrtc/call
Sebastian Jansson ecb6897ade Adds repeating task class.
This CL adds a single class to manage the use case of having a task
that repeats itself by a fixed or variable interval. It replaces the
repeating task previously locally defined for rtp transport controller
send as well as the cancelable periodic task. Furthermore, it is
introduced where one off repeating tasks were created before.

It provides the currently used functionality of the cancelable periodic
task, but not some of the unused features, such as allowing cancellation
of tasks before they are started and cancellation of a task after the
owning task queue has been destroyed.

Bug: webrtc:9883
Change-Id: Ifa7edee836c2a64fce16a7d0f682eb09c879eaca
Reviewed-on: https://webrtc-review.googlesource.com/c/116182
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26313}
2019-01-18 10:55:41 +00:00
..
test (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
audio_receive_stream.cc Remove chromium clang style errors affecting sdk/android/media_jni 2018-04-09 13:55:49 +00:00
audio_receive_stream.h Expose jitterBufferEmittedCount in addition to the existing jitterBufferDelay for getStats(). 2019-01-16 11:44:10 +00:00
audio_send_stream.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
audio_send_stream.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
audio_state.cc Remove chromium clang style errors affecting sdk/android/media_jni 2018-04-09 13:55:49 +00:00
audio_state.h Remove comments about using std::shared_ptr. 2019-01-15 13:15:58 +00:00
bitrate_allocator.cc Signals start rate when registering to TargetTransferRateObserver. 2018-12-12 09:22:32 +00:00
bitrate_allocator.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
bitrate_allocator_unittest.cc Don't trigger too many probes when max allocated bitrate changes. 2018-12-11 16:19:53 +00:00
bitrate_estimator_tests.cc Include absl/memory/memory.h if absl::make_unique is used 2019-01-08 20:08:32 +00:00
BUILD.gn Adds repeating task class. 2019-01-18 10:55:41 +00:00
call.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
call.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
call_config.cc [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
call_config.h Remove comments about using std::shared_ptr. 2019-01-15 13:15:58 +00:00
call_factory.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
call_factory.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
call_perf_tests.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
call_unittest.cc Remove Transport implementation from ChannelSend 2018-12-18 09:34:52 +00:00
callfactory.h (5) Rename files to snake_case: install forwarding headers 2019-01-11 17:13:36 +00:00
degraded_call.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
degraded_call.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
DEPS Make fec controller plug-able. 2018-01-22 11:48:16 +00:00
fake_network_pipe.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
fake_network_pipe.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
flexfec_receive_stream.cc [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
flexfec_receive_stream.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
flexfec_receive_stream_impl.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
flexfec_receive_stream_impl.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
flexfec_receive_stream_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
OWNERS Makes srte owner in call/ and test/ 2018-07-13 08:39:41 +00:00
packet_receiver.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rampup_tests.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rampup_tests.h Refactor bitrate configuration in CallTest 2018-11-13 16:03:00 +00:00
receive_time_calculator.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
receive_time_calculator.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
receive_time_calculator_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtcp_demuxer.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
rtcp_demuxer.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
rtcp_demuxer_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
rtcp_packet_sink_interface.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_bitrate_configurator.cc Replace rtc::Optional with absl::optional in audio, call and video 2018-06-15 12:09:49 +00:00
rtp_bitrate_configurator.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_bitrate_configurator_unittest.cc Replace rtc::Optional with absl::optional in audio, call and video 2018-06-15 12:09:49 +00:00
rtp_config.cc Adding rtcp report interval into RTCConfiguration. 2018-11-12 20:00:00 +00:00
rtp_config.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_demuxer.cc Allow all "token" chars from RFC 4566 when checking for legal mid names. 2018-08-01 18:20:42 +00:00
rtp_demuxer.h Don't check MIDs when demuxing RTP packets in Call 2018-03-29 20:36:08 +00:00
rtp_demuxer_unittest.cc Delete unneeded includes of common_types.h and gn deps on webrtc_common. 2018-11-20 16:28:39 +00:00
rtp_packet_sink_interface.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_payload_params.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_payload_params.h Delete unneeded includes of common_types.h and gn deps on webrtc_common. 2018-11-20 16:28:39 +00:00
rtp_payload_params_unittest.cc Send and receive color space information if available 2018-12-03 21:07:45 +00:00
rtp_rtcp_demuxer_helper.cc Replace rtc::Optional with absl::optional in audio, call and video 2018-06-15 12:09:49 +00:00
rtp_rtcp_demuxer_helper.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
rtp_rtcp_demuxer_helper_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
rtp_stream_receiver_controller.cc Use absl::make_unique and absl::WrapUnique directly 2018-07-05 10:59:49 +00:00
rtp_stream_receiver_controller.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_stream_receiver_controller_interface.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_transport_controller_send.cc Adds repeating task class. 2019-01-18 10:55:41 +00:00
rtp_transport_controller_send.h Adds repeating task class. 2019-01-18 10:55:41 +00:00
rtp_transport_controller_send_interface.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_video_sender.cc Rename EncodedImage::_length --> size_, and make private. 2019-01-16 07:40:47 +00:00
rtp_video_sender.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_video_sender_interface.h Move FecController to RtpVideoSender. 2018-10-05 14:39:01 +00:00
rtp_video_sender_unittest.cc Rename EncodedImage::_length --> size_, and make private. 2019-01-16 07:40:47 +00:00
rtx_receive_stream.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
rtx_receive_stream.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtx_receive_stream_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
simulated_network.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
simulated_network.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
simulated_packet_receiver.h Eliminate methods SetConfig() from DirectTransport and FakeNetworkPipe 2018-08-22 11:12:40 +00:00
ssrc_binding_observer.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
syncable.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
syncable.h Replace rtc::Optional with absl::optional in audio, call and video 2018-06-15 12:09:49 +00:00
video_receive_stream.cc Enable use of MediaTransportInterface for video streams. 2019-01-11 14:06:15 +00:00
video_receive_stream.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
video_send_stream.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
video_send_stream.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00