Design and requirements #2
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I propose a very simple web application where users can either:
Requirements
Design
Technology stack
Communications
All client / server communications will use SignalR. A hub will be exposed at
http(s)://hostname/vcinemahub
.SignalR allows server methods to be called. In response to a server method being called, it is possible to return a value to the caller or broadcast a message to all connected clients, or a group of connected clients.
Server methods
CreateScreen(string name, string source)
ReceiveScreens
DeleteScreen(int screenId)
ReceiveScreens
WatchScreen(int screenID)
ReceiveWatchers
LeaveScreen()
ReceiveWatchers
SetWatcherName(string name)
ReceiveWatchers
SetPlayState(bool playing)
ReceivePlayState
SetPlayState(bool playing, int playOffset)
ReceivePlayState
Messages
ReceiveScreens
ReceiveWatchers
ReceivePlayState
Project architecture
Schemata
N.B. An improvement might be to use a computed column to calculate the current play position of the video.
Q: do we give a shit about room owners and only them being able to change play state
👍 reduces chances of drunken trolling
👎 they fall asleep while and press pause by accident