
Also moves implementation of legacy setDirection() without error to the api/ directory. This is one step in the plan for changing the API to return RTCError. Bug: chromium:980879 Change-Id: Ibce8edf8e3c6d41de7ce49d2ffc33f5b282a0e9f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/181520 Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Reviewed-by: Guido Urdaneta <guidou@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31943}