
PeerConnectionFactory.initialize() should be the first call before any other call to the Android WebRTC API. The reason this is important is mainly because PeerConnectionFactory.initialize() loads the native C++ code, so all other WebRTC calls that rely on native calls will fail before this has been done. Bug: webrtc:7474, webrtc:9153 Change-Id: Id0cb78eaf18ea036f39d616d00ac6e32696266bb Reviewed-on: https://webrtc-review.googlesource.com/70428 Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22954}