Video conference

This section contains the necessary methods to start videoconference.

The following method manages the the stage in which the video conference is.

BiometridOn.getInstance().startVideoConference(String process_token, OnProcessCallback callback);

Callback params

startVideoConference Callback

Callback

Boolean b

Status of request

StepType stepType

Step type

Boolean inQueue

Status of queue

Boolean inVideo

Status of queue

Errors e

Errors object

Basic implementation:

public class ExampleActivity extends Activity implements OnProcessCallback {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_example);

        BiometridOn.getInstance().startVideoConference("PROCESS_ID", this);
    }

    @Override
    public void onVideoConferenceCallback(boolean b, StepType stepType, boolean inQueue, boolean inVideo, Errors errors) {

    }  
    ...
}

BiometridOn video-conference has 3 stages:

  • Pre-Queue:

    • This stage represents the moment before the user is ready to start the conference.

  • In-Queue:

    • The user is ready and is now waiting for an available agent to attend to the video call

  • In-Video:

    • The agent is ready and the video conference can start.

Adicional information:

  • When a stage changes the method highlighted above needs to be called again.

  • On the final stage (in-video), the method highlighted above will start a new activity containing the video conference surface.

    • The results of the video-call will fall onto the same callback

Last updated