c4a8ac25 by David LaPalomento

Merge pull request #293 from dmlap/switching-sim-updates

Get the switching simulator working again
2 parents c18e3df7 11230c3e
(function(window, document) {
'use strict';
// the number of seconds of video in each segment
var segmentDuration = 9, // seconds
segmentCount = 10,
// the number of segments in the video
segmentCount = 100,
// the length of the simulation
duration = segmentDuration * segmentCount,
// the number of seconds it takes for a single bit to be
// transmitted from the client to the server, or vice-versa
propagationDelay = 0.5,
runSimulation,
......@@ -25,6 +34,9 @@
this.tagsAvailable = function() {
return false;
};
this.metadataStream = {
on: function() {}
};
};
// a dynamic number of time-bandwidth pairs may be defined to drive the simulation
......