bakes82 90 Posted July 13, 2022 Share Posted July 13, 2022 Is a "Session" per video play, or is it time/interaction based? Example: Netflix, are you still there. In my paused duration plugin I add the sessionId with a start time to a collection and just check the sessions on an interval and after xx time (playback progress event checks is paused and time diff between the two times are > xx time) kill the session, could I do the same thing if a user is watching a playlist or back to back videos? IE after x time I can kill the session even if its on different video, or would I need to store a deviceid/user/time? Link to comment Share on other sites More sharing options...
Luke 37095 Posted July 14, 2022 Share Posted July 14, 2022 Hi, this has evolved over time, but in most cases Sessions don't really go away anymore because with push notifications we can still communicate with them even with the web socket closes. So based on that, we don't really know if the user is sitting in front of the screen or not actively using the application. If you're trying to identify idle sessions in order to stop playback, I don't think that's necessary anymore as 4.7 is much better at cleaning that up. But if you must, then yes, you'll need to look at it from a time based standpoint and make your own decisions based on that. Link to comment Share on other sites More sharing options...
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