Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to join a room using room id #366

Open
ashutoshbitcot opened this issue Apr 18, 2023 · 1 comment
Open

How to join a room using room id #366

ashutoshbitcot opened this issue Apr 18, 2023 · 1 comment

Comments

@ashutoshbitcot
Copy link

Hi,

So in iOS there is a way to do this

HMSConfig(userID: UUID().uuidString,
                roomID: self.roomId, authToken: self.sessionAuth)

but in Andorid there is no HMSConfig to add room id All I see is meta data in the HMSConfig(). How do we join a room using room id in android? any example will be appreciated.

@AniketSK
Copy link
Contributor

Hi,

So in iOS there is a way to do this

HMSConfig(userID: UUID().uuidString,
                roomID: self.roomId, authToken: self.sessionAuth)

but in Andorid there is no HMSConfig to add room id All I see is meta data in the HMSConfig(). How do we join a room using room id in android? any example will be appreciated.

Here's the hmsconfig on Android. The auth token is what matters and has encoded within it, the roomId.

Here's where you put the roomId to get an auth token.
https://www.100ms.live/docs/android/v2/get-started/quickstart#get-auth-token
@ashutoshbitcot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants