hyuk
Member
Hi,
We are using the Flashphoner WebSDK (Room API) on the client side, and we want to check if a user is connected by calling the /connection/find API from the server.
However, it seems that the sessionId required by /connection/find is different from the value returned by session.id() in the WebSDK.
Currently, the client can access its own mediaSessionId, but we cannot find a way to directly obtain the sessionId that can be passed to /connection/find.
Questions
1. Is there a way for the client (WebSDK) to directly obtain the sessionId that can be used with the /connection/find API?
2. If not, what is the recommended approach to map or obtain this value on the server side?
For reference, this is before the video was transmitted.
Thank you.
We are using the Flashphoner WebSDK (Room API) on the client side, and we want to check if a user is connected by calling the /connection/find API from the server.
However, it seems that the sessionId required by /connection/find is different from the value returned by session.id() in the WebSDK.
Currently, the client can access its own mediaSessionId, but we cannot find a way to directly obtain the sessionId that can be passed to /connection/find.
Questions
1. Is there a way for the client (WebSDK) to directly obtain the sessionId that can be used with the /connection/find API?
2. If not, what is the recommended approach to map or obtain this value on the server side?
For reference, this is before the video was transmitted.
Thank you.