webrtc/sdk
Nico Weber b3c9d3da8f [ios] Fix two rtc_unittests that fail when using lld as linker
setExif: would create a CFDictionary using NULL for keyCallBacks and
valueCallBacks. This has the effect of comparing the keys of the
dictionary by pointer instead of by value. With ld64, this works
because it always dedupes identical constant CFSTR("foo") literal,
but lld currently doesn't do this.

Using kCFTypeDictionaryKeyCallBacks and kCFTypeDictionaryValueCallBacks
fixes the problem with lld and is "more correct" in general: Now the
dictionary would work with computed CFStrings too, it shows up better
in CFShow() output, etc.

While here, also fix a memory leak in setExif:.

Bug: chromium:1251763
Change-Id: I43c96d2189a4a77fe3bd0dfb3e33623925b0f900
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/232760
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#35067}
2021-09-22 19:45:44 +00:00
..
android Add rtc:SocketFactory as member of jni OwnedFactoryAndThreads 2021-09-21 11:15:30 +00:00
objc [ios] Fix two rtc_unittests that fail when using lld as linker 2021-09-22 19:45:44 +00:00
BUILD.gn Verify that locks are handled correctly on RTCAudioSession 2021-09-17 01:41:42 +00:00
media_constraints.cc Use backticks not vertical bars to denote variables in comments for /sdk 2021-07-27 14:39:06 +00:00
media_constraints.h Remove more mentions of RTP datachannels 2021-04-21 10:16:43 +00:00
media_constraints_unittest.cc Remove enable_rtp_data_channel 2021-04-15 10:20:00 +00:00
OWNERS Remove wildcard ownership for build files. 2020-02-19 14:05:46 +00:00