webrtc/sdk
Byoungchan Lee 2b46a5870b Add proxy access to some methods in Obj-C SDK
Most calls to C++ PeerConnection and related classes are proxied
to internal threads in WebRTC. However, there is no such thing
in the Obj-C SDK.
It would be nice to proxy methods in the Obj-C SDK as well.

RTCMediaStream and RTCVideoTrack have NSMutableArray members,
and it can throw NSRangeException when it has race conditions,
so that it would be a good starting point.

Also, remove some NSAsserts as its condition isn't a fatal error,
and it doesn't affect the production already.

Bug: None
Change-Id: I10b44a9c773d62a5c04c254986733a6b67d51617
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/262840
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37283}
2022-06-21 07:02:08 +00:00
..
android Move to_queued_task.h and pending_task_safety_flag.h into public API 2022-06-17 09:20:39 +00:00
objc Add proxy access to some methods in Obj-C SDK 2022-06-21 07:02:08 +00:00
BUILD.gn Add proxy access to some methods in Obj-C SDK 2022-06-21 07:02:08 +00:00
media_constraints.cc Remove unused audio options and corresponding media constraints 2022-02-14 10:50:20 +00:00
media_constraints.h Remove unused audio options and corresponding media constraints 2022-02-14 10:50:20 +00:00
media_constraints_unittest.cc Remove enable_dtls_srtp option 2021-10-26 10:35:41 +00:00
OWNERS Remove wildcard ownership for build files. 2020-02-19 14:05:46 +00:00