webrtc/call/test
Florent Castelli acabb3641b pc: Add asynchronous RtpSender::SetParameters() call
As the synchronous version only posts a task to recreate the encoder
later, it is not possible to catch errors and state changes that
could appear then.
The asynchronous version of SetParameters() aims to solve this by
providing a callback to wait for the completion of the encoder
reconfiguration, allowing any error to be propagate and subsequent
getParameters() call to have up to date information.

Bug: webrtc:11607
Change-Id: I5548e75aa14a97f8d9c0c94df1e72e9cd40887b2
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/278420
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Florent Castelli <orphis@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38627}
2022-11-15 15:31:40 +00:00
..
mock_audio_send_stream.h pc: Add asynchronous RtpSender::SetParameters() call 2022-11-15 15:31:40 +00:00
mock_bitrate_allocator.h In call/ replace mock macros with unified MOCK_METHOD macro 2020-05-15 13:36:00 +00:00
mock_rtp_packet_sink_interface.h In call/ replace mock macros with unified MOCK_METHOD macro 2020-05-15 13:36:00 +00:00
mock_rtp_transport_controller_send.h Replace TaskQueue with MaybeWorkerThread in RtpTransportControllerInterface 2022-10-10 11:56:52 +00:00