The streaming session ends when the user closes their tab, loads a different page, refreshes the page, or the session times out due to inactivity. The inactivity timeout can be configured from your account's dashboard. There is no need to explicitly log out for the session to end and the device on which the session was running to be factory reset.