100mslive/100ms-android

How to join a room using room id

ashutoshbitcot opened this issue · 1 comments

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.

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