usnistgov/NetSimulyzer

Set playback speed per session

bpe2 opened this issue · 4 comments

bpe2 commented

Currently, the playback speed is set per scenario by the ns-3 module.

Move this value to the settings dialog and remove it from the output.

bpe2 commented

Currently, I plan to restrict the user to integers for this setting. @richardrouil any idea if there's a need for a < 1ms time step?

bpe2 commented

Move this setting to per-session and have it set by the playback controller (when we get it).

Keep the ns-3 setting, and maybe load that as the playback speed when the scenario is loaded.

bpe2 commented

Add the following to the schema

"configuration": {
  "type": "object",
  "properties": {
    "ms-per-frame": {
      "type": "number",
      "minimum": 0
    }
  }
}
bpe2 commented

Playback speed is set every time a scenario is loaded to the value in the scenario, or the default if none is available. It's also in the settings if the user wants to adjust it