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:
parent
2a770828d8
commit
e6013bb7be
@ -88,7 +88,8 @@ function start() {
|
||||
var maxVideoBitrateKbps = parseInt(maxVideoBitrateInput.value);
|
||||
var forceTurn = forceTurnInput.checked;
|
||||
var autoClose = autoModeInput.checked;
|
||||
var pcConstraints = JSON.parse(pcConstraintsInput.value);
|
||||
var pcConstraints = pcConstraintsInput.value == "" ?
|
||||
null : JSON.parse(pcConstraintsInput.value);
|
||||
|
||||
var updateStatusInterval;
|
||||
var testFinished = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user