Add RTCConfiguration constructor to RTCPeerConnection wrapper.

BUG=4658
R=jiayl@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/56419004

Cr-Commit-Position: refs/heads/master@{#9335}
diff --git a/talk/examples/objc/AppRTCDemo/ARDAppClient.m b/talk/examples/objc/AppRTCDemo/ARDAppClient.m
index e4c2f81..0f3c423 100644
--- a/talk/examples/objc/AppRTCDemo/ARDAppClient.m
+++ b/talk/examples/objc/AppRTCDemo/ARDAppClient.m
@@ -34,6 +34,7 @@
 #import "RTCMediaConstraints.h"
 #import "RTCMediaStream.h"
 #import "RTCPair.h"
+#import "RTCPeerConnectionInterface.h"
 #import "RTCVideoCapturer.h"
 #import "RTCAVFoundationVideoSource.h"
 
@@ -397,9 +398,11 @@
 
   // Create peer connection.
   RTCMediaConstraints *constraints = [self defaultPeerConnectionConstraints];
-  _peerConnection = [_factory peerConnectionWithICEServers:_iceServers
-                                               constraints:constraints
-                                                  delegate:self];
+  RTCConfiguration *config = [[RTCConfiguration alloc] init];
+  config.iceServers = _iceServers;
+  _peerConnection = [_factory peerConnectionWithConfiguration:config
+                                                  constraints:constraints
+                                                     delegate:self];
   // Create AV media stream and add it to the peer connection.
   RTCMediaStream *localStream = [self createLocalMediaStream];
   [_peerConnection addStream:localStream];
diff --git a/talk/examples/objc/AppRTCDemo/ios/Info.plist b/talk/examples/objc/AppRTCDemo/ios/Info.plist
index 0b66b1c..21ee355 100644
--- a/talk/examples/objc/AppRTCDemo/ios/Info.plist
+++ b/talk/examples/objc/AppRTCDemo/ios/Info.plist
@@ -28,8 +28,6 @@
         <string>AppRTCDemo</string>
         <key>CFBundlePackageType</key>
         <string>APPL</string>
-        <key>CFBundleResourceSpecification</key>
-        <string>ResourceRules.plist</string>
         <key>CFBundleShortVersionString</key>
         <string>1.0</string>
         <key>CFBundleSignature</key>