jpschewe / fll-sw

FIRST Lego League scoring software
http://jpschewe.github.io/fll-sw/
GNU General Public License v2.0
10 stars 7 forks source link

Web socket for display control #1091

Closed jpschewe closed 1 year ago

jpschewe commented 1 year ago
jpschewe commented 1 year ago

Maybe use server-sent events instead of websocket? Although note that only 6 pages can simultaneously be using server-sent events unless we are using http2.

jpschewe commented 1 year ago

Stick to websockets so that the display name can be sent.

See if I can remove the need for session variables.

Use a form parameter to track the display name from page to page. Use JavaScript to handle the name parameter.

Don't specify name on scoreboard custom pages, don't want these to show up as displays.