Tweak DTLS-in-STUN filter benchmark filter

to allow comparing 1.3 with pqc and with/without dtls-in-stun to vanilla DTLS 1.3 (truncated output):
rtc_p2p_unittests --gtest_filter='*Bench*/*' --bench_iterations=25 --bench_server_candidates=1 --bench_pct_loss=0 | & grep RESULT | sort
(truncated)
[ dtls: server/1.2 ice: controlled pqc: 0 dtls_in_stun: 0  ]] RESULT: p10: 850 p50: 850 avg: 850 p95: 850
[ dtls: server/1.2 ice: controlled pqc: 0 dtls_in_stun: 1  ]] RESULT: p10: 650 p50: 650 avg: 650 p95: 650
[ dtls: server/1.3 ice: controlled pqc: 0 dtls_in_stun: 0  ]] RESULT: p10: 750 p50: 750 avg: 750 p95: 750
[ dtls: server/1.3 ice: controlled pqc: 0 dtls_in_stun: 1  ]] RESULT: p10: 550 p50: 550 avg: 550 p95: 550
[ dtls: server/1.3 ice: controlled pqc: 1 dtls_in_stun: 0  ]] RESULT: p10: 850 p50: 850 avg: 848 p95: 850
[ dtls: server/1.3 ice: controlled pqc: 1 dtls_in_stun: 1  ]] RESULT: p10: 650 p50: 650 avg: 650 p95: 650

Result: PQC+DTLS-in-STUN is still an improvement over DTLS12 and over vanilla DTLS13.

The following test
rtc_p2p_unittests --gtest_filter='*Bench*/*' --bench_iterations=25 --bench_server_candidates=1 | & grep RESULT | grep "1.2"
loss: 0  ... [ dtls: server/1.2 ice: controlled pqc: 0 dtls_in_stun: 0  ]] RESULT: p10: 850 p50:  850 avg:  850 p95:  850
loss: 0  ... [ dtls: server/1.2 ice: controlled pqc: 0 dtls_in_stun: 1  ]] RESULT: p10: 650 p50:  650 avg:  650 p95:  650
loss: 5  ... [ dtls: server/1.2 ice: controlled pqc: 0 dtls_in_stun: 0  ]] RESULT: p10: 850 p50:  850 avg:  940 p95: 1300
loss: 5  ... [ dtls: server/1.2 ice: controlled pqc: 0 dtls_in_stun: 1  ]] RESULT: p10: 650 p50:  650 avg:  668 p95:  700
loss: 10 ... [ dtls: server/1.2 ice: controlled pqc: 0 dtls_in_stun: 0  ]] RESULT: p10: 850 p50:  900 avg: 1106 p95: 2060
loss: 10 ... [ dtls: server/1.2 ice: controlled pqc: 0 dtls_in_stun: 1  ]] RESULT: p10: 650 p50:  650 avg:  680 p95:  700
loss: 25 ... [ dtls: server/1.2 ice: controlled pqc: 0 dtls_in_stun: 0  ]] RESULT: p10: 870 p50: 1300 avg: 6208 p95: 11820
loss: 25 ... [ dtls: server/1.2 ice: controlled pqc: 0 dtls_in_stun: 1  ]] RESULT: p10: 650 p50:  800 avg:  976 p95:  1760

shows that even for DTLS 1.2 we had a problem with packet loss during the handshake which gets addressed by DTLS-in-STUN.

Bug: webrtc:367395350
Change-Id: Ia335fb21a20a5588202469544c6d6cd8c5d831ba
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/432920
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Jonas Oreland <jonaso@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#46470}
1 file changed
tree: 818f07cdfe7bf91a23160dcf9d7a8e6abe30929f
  1. agents/
  2. api/
  3. audio/
  4. build_overrides/
  5. call/
  6. common_audio/
  7. common_video/
  8. data/
  9. docs/
  10. examples/
  11. experiments/
  12. g3doc/
  13. infra/
  14. logging/
  15. media/
  16. modules/
  17. net/
  18. p2p/
  19. pc/
  20. resources/
  21. rtc_base/
  22. rtc_tools/
  23. sdk/
  24. stats/
  25. system_wrappers/
  26. test/
  27. tools_webrtc/
  28. video/
  29. .clang-format
  30. .clang-tidy
  31. .git-blame-ignore-revs
  32. .gitignore
  33. .gn
  34. .mailmap
  35. .rustfmt.toml
  36. .style.yapf
  37. .vpython3
  38. AUTHORS
  39. BUILD.gn
  40. CODE_OF_CONDUCT.md
  41. codereview.settings
  42. DEPS
  43. DIR_METADATA
  44. ENG_REVIEW_OWNERS
  45. GEMINI.md
  46. LICENSE
  47. license_template.txt
  48. native-api.md
  49. OWNERS
  50. OWNERS_INFRA
  51. PATENTS
  52. PRESUBMIT.py
  53. presubmit_test.py
  54. presubmit_test_mocks.py
  55. pylintrc
  56. pylintrc_old_style
  57. README.chromium
  58. README.md
  59. WATCHLISTS
  60. webrtc.gni
  61. webrtc_lib_link_test.cc
  62. whitespace.txt
README.md

WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.

Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.

The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.

Development

See here for instructions on how to get started developing with the native code.

Authoritative list of directories that contain the native API header files.

More info