Fix loopback test for case where no constraint is given.
R=stefan@webrtc.org TBR=stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/11619004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5881 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -88,7 +88,8 @@ function start() {
|
|||||||
var maxVideoBitrateKbps = parseInt(maxVideoBitrateInput.value);
|
var maxVideoBitrateKbps = parseInt(maxVideoBitrateInput.value);
|
||||||
var forceTurn = forceTurnInput.checked;
|
var forceTurn = forceTurnInput.checked;
|
||||||
var autoClose = autoModeInput.checked;
|
var autoClose = autoModeInput.checked;
|
||||||
var pcConstraints = JSON.parse(pcConstraintsInput.value);
|
var pcConstraints = pcConstraintsInput.value == "" ?
|
||||||
|
null : JSON.parse(pcConstraintsInput.value);
|
||||||
|
|
||||||
var updateStatusInterval;
|
var updateStatusInterval;
|
||||||
var testFinished = false;
|
var testFinished = false;
|
||||||
|
Reference in New Issue
Block a user