Enable Continual gathering in apprtcdemo.

This will help test or debug the continual gathering policy.

BUG=

Review URL: https://codereview.webrtc.org/1812593002

Cr-Commit-Position: refs/heads/master@{#12038}
This commit is contained in:
honghaiz
2016-03-17 09:43:41 -07:00
committed by Commit bot
parent 22feaa3d15
commit 8811b35960

View File

@ -459,6 +459,7 @@ public class PeerConnectionClient {
rtcConfig.tcpCandidatePolicy = PeerConnection.TcpCandidatePolicy.DISABLED;
rtcConfig.bundlePolicy = PeerConnection.BundlePolicy.MAXBUNDLE;
rtcConfig.rtcpMuxPolicy = PeerConnection.RtcpMuxPolicy.REQUIRE;
rtcConfig.continualGatheringPolicy = PeerConnection.ContinualGatheringPolicy.GATHER_CONTINUALLY;
// Use ECDSA encryption.
rtcConfig.keyType = PeerConnection.KeyType.ECDSA;