Removing unnecessary parameters from initializeAndroidGlobals.
The "initialize audio/video" parameters are no longer needed, but at the same time were required to be true, causing a lot of confusion. This CL removes them, but leaves the old method signature around, marked "deprecated". BUG=webrtc:3416 TBR=solenberg@webrtc.org Review-Url: https://codereview.webrtc.org/2800353002 Cr-Commit-Position: refs/heads/master@{#17626}
This commit is contained in:
@ -471,10 +471,8 @@ public class PeerConnectionClient {
|
||||
});
|
||||
|
||||
// Create peer connection factory.
|
||||
if (!PeerConnectionFactory.initializeAndroidGlobals(
|
||||
context, true, true, peerConnectionParameters.videoCodecHwAcceleration)) {
|
||||
events.onPeerConnectionError("Failed to initializeAndroidGlobals");
|
||||
}
|
||||
PeerConnectionFactory.initializeAndroidGlobals(
|
||||
context, peerConnectionParameters.videoCodecHwAcceleration);
|
||||
if (options != null) {
|
||||
Log.d(TAG, "Factory networkIgnoreMask option: " + options.networkIgnoreMask);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user