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 asession_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
andsession_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:
- Why do two sessions with the same
session_name
exist simultaneously? - When there are duplicate
session_name
values, why does one session have asession_key
while the other does not?
Thanks,
Phuong