We’re doing a livestream and want to make sure an authenticated user can only stream from one device (i.e. not sharing login for others to watch).
I can imagine a brute, inflexible way of doing it - saving active sessions and checking that list when accessing the streaming page. But sthe UX is pretty awful. You start watching on your phone, want to switch to your computer… you have to log out or navigate away from the page on your phone first?
Ideally I’d love a solution where a second instance issues a pop up saying “Do you want to watch here?” with yes closing out the original session. But that would require websockets, no?
Any ideas/advice would be very appreciated!
Mitch