Why are there 2 sessions with the same session_name at the same time?

Description
I used the API /videosdk/sessions to retrieve all sessions in progress. However, I encountered a situation where two sessions had the same session_name.

Details:

  • While querying active sessions, I found two sessions with the same session_name. One session had a session_key, while the other did not.
 {
    id: 'H0aplRVCSP+QlvRxuhXtcw==',
    session_name: '6749784892_1742520674984',
    start_time: '2025-03-21T01:31:36Z',
    end_time: '',
    duration: '',
    user_count: 1,
},
{
    id: 'ACKP4XSJS5uscNbpKsA3mA==',
    session_name: '6749784892_1742520674984',
    start_time: '2025-03-21T01:31:47Z',
    end_time: '',
    duration: '',
    user_count: 1,
    session_key: '6749784892_1742520674984'
  }
  • After both sessions ended, I queried again and saw that both now had a session_name and session_key.
{
    "id": "H0aplRVCSP+QlvRxuhXtcw==",
    "session_name": "6749784892_1742520674984",
    "start_time": "2025-03-21T01:31:36Z",
    "end_time": "2025-03-21T01:42:20Z",
    "duration": "00:10:44",
    "user_count": 1,
    "session_key": "6749784892_1742520674984",
},
{
    "id": "ACKP4XSJS5uscNbpKsA3mA==",
    "session_name": "6749784892_1742520674984",
    "start_time": "2025-03-21T01:31:47Z",
    "end_time": "2025-03-21T01:55:24Z",
    "duration": "00:23:37",
    "user_count": 1,
    "session_key": "6749784892_1742520674984",
}

Questions:

  1. Why do two sessions with the same session_name exist simultaneously?
  2. When there are duplicate session_name values, why does one session have a session_key while the other does not?

Thanks,
Phuong

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.