Repository navigation
OMT Mini 0.8.0
A web control panel, so OMT Mini can be driven from a browser on another machine.
What it does
It serves one page, from memory, with no dependencies at either end. Nothing to install on the machine you drive it from.
- Every open viewer and the multiview drawn where they actually are, to scale, across your real monitor layout
- Drag a window to move it, the corner to resize, double click to maximise, and the window on the machine follows
- Drag a source from the list onto a window to retarget it, or onto empty desktop to open a new viewer
- Drag sources onto the multiview cells, and change its layout from the same page
- Add a source by address remotely, including the port walk that finds every sender on a machine
- Sources carry the same tags as in the app:
direct,mDNS,this machine,OMT Mini, and offline
Retargeting a viewer opens a new one and puts it exactly where the old one was, because a viewer is bound to its source for its lifetime. It reads as a change rather than a replacement.
Turning it on
Settings > Web. It is off by default, and deliberately so: it can close a window on a machine that is on air, and it has no password. Anyone who can reach the port can move, retarget and close windows on that machine.
Turn it on where you trust the network. The tab shows the address to open, and there is a button to open it locally.
Default port 7400, configurable.
Under it
Commands arrive on a socket thread and are applied on the interface thread, for the same reason every other deferred path in here exists: they move and destroy windows. Window positions are read straight off Win32, which is safe from any thread.
One bug worth mentioning, caught by testing the JSON before trusting it. A string literal passed to the field helper was binding to the bool overload rather than the string one, because pointer to bool is a standard conversion and beats the user defined conversion to std::string. Every literal was serialising as true. Fixed, and the generator is now checked against a real parser.