Bug 1909234 - Vendor libwebrtc from be40e57195

Upstream commit: https://webrtc.googlesource.com/src/+/be40e571950ba349062e1bbf93d3211d42a95f43
    Include-what-you-use rtc_event_log_to_text/

    Bug: webrtc:42226242
    Change-Id: Ibb9bfc4b444de9d79e9e0e9f0e0545bf195168d5
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/352503
    Commit-Queue: Björn Terelius <terelius@webrtc.org>
    Reviewed-by: Jeremy Leconte <jleconte@google.com>
    Cr-Commit-Position: refs/heads/main@{#42397}
This commit is contained in:
Byron Campen 2024-07-25 10:47:59 -05:00
parent 45facb46d9
commit 8da016d16a
5 changed files with 17 additions and 1 deletions

View File

@ -30963,3 +30963,6 @@ ac4e0b6f46
# MOZ_LIBWEBRTC_SRC=/home/bcampen/checkouts/elm/.moz-fast-forward/moz-libwebrtc MOZ_LIBWEBRTC_BRANCH=mozpatches bash dom/media/webrtc/third_party_build/fast-forward-libwebrtc.sh
# base of lastest vendoring
c157f29216
# MOZ_LIBWEBRTC_SRC=/home/bcampen/checkouts/elm/.moz-fast-forward/moz-libwebrtc MOZ_LIBWEBRTC_BRANCH=mozpatches bash dom/media/webrtc/third_party_build/fast-forward-libwebrtc.sh
# base of lastest vendoring
be40e57195

View File

@ -20666,3 +20666,5 @@ libwebrtc updated from /home/bcampen/checkouts/elm/.moz-fast-forward/moz-libwebr
libwebrtc updated from /home/bcampen/checkouts/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2024-07-25T15:35:31.225947.
# ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /home/bcampen/checkouts/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc
libwebrtc updated from /home/bcampen/checkouts/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2024-07-25T15:45:35.026665.
# ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /home/bcampen/checkouts/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc
libwebrtc updated from /home/bcampen/checkouts/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2024-07-25T15:47:49.545766.

View File

@ -515,7 +515,11 @@ if (rtc_include_tests) {
"rtc_event_log_to_text/main.cc",
]
deps = [
"../api:candidate",
"../api:rtp_parameters",
"../api/rtc_event_log",
"../api/transport:bandwidth_usage",
"../api/video:video_frame",
"../logging:ice_log",
"../logging:rtc_event_audio",
"../logging:rtc_event_begin_end",

View File

@ -12,9 +12,15 @@
#include <inttypes.h>
#include <cstdio>
#include <map>
#include <string>
#include <vector>
#include "api/candidate.h"
#include "api/rtp_parameters.h"
#include "api/transport/bandwidth_usage.h"
#include "api/video/video_codec_type.h"
#include "logging/rtc_event_log/events/logged_rtp_rtcp.h"
#include "logging/rtc_event_log/events/rtc_event_alr_state.h"
#include "logging/rtc_event_log/events/rtc_event_audio_network_adaptation.h"

View File

@ -68,7 +68,8 @@ int main(int argc, char* argv[]) {
output = stdout;
} else {
// Print usage information.
std::cerr << absl::ProgramUsageMessage();
absl::string_view usage = absl::ProgramUsageMessage();
fwrite(usage.data(), usage.size(), 1, stderr);
return 1;
}