Want to use Quickblox like mbaas to make a video Chatroulette function

407 views Asked by At

I read the code of video example. It's based on chat room, need register to chat room first then start video 1:1 chat with selected user id. But for a senario of chatroulette, I need find a random available video ready user, is this achivable by the sdk? I need the user repeated video chat with random user, so did for the peer user.

1

There are 1 answers

3
Alexey Voitenko On

Here are steps to implement "chatroulette":

  1. When user starts app first time, you need to register him behind the scene, or by using your form - as you wish. Next time he will log in automatically by saved credentials (from registration).
  2. After log in, user will try to enter in pre-defined chat room. If room doesn't exist yet it will be created.
  3. After entering room request all users, logged in your room, and choose random user to call.