skvlad 588783adcd Return nil from RTCPeerConnectionFactory when creation fails
RTCPeerConnectionFactory.createPeerConnection did not check the return
value of the native createPeerConnection() - so when the native PC
fails to be created, it could end up attempting to use a null pointer.

The change makes it return nil when the creation fails. The application
can then detect and respond to the failure.

Review-Url: https://codereview.webrtc.org/2240633004
Cr-Commit-Position: refs/heads/master@{#13732}
2016-08-11 21:29:32 +00:00
..
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-04-27 08:54:27 +00:00
2016-07-28 21:53:01 +00:00