Protected 86 Posted October 10, 2024 Posted October 10, 2024 If I have two sessions, A and B, set A to control B and then initiate playback, SessionManager.PlaybackStart is fired for B rather than A. So far so good. But how can I tell B is being controlled by A? I'm not seeing it.
Solution Luke 42077 Posted October 11, 2024 Solution Posted October 11, 2024 Hi, currently that state is not kept anywhere on the server. Technically the api allows more than one client to send commands at the same time.
Protected 86 Posted October 11, 2024 Author Posted October 11, 2024 I had a suspicion this was going to be the answer. For now I can finesse my way around this limitation, I think. There is no need to keep server-side state though. For a future suggestion, remote control commands could include the ID of the controlling session, so it can be included in the reports sent back to the server and duly made available in the SessionManager progress events. The ID can be kept in the client? At least for playback, there's definitely one specific controlling session that originated the playback (or none if it was a local instruction). 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now