Skip to content Skip to sidebar Skip to footer

Testing Conference Call On Android

I'm trying to set up a conference call using the sample app. Basically what I did was replace the mSinchClient.getCallClient().callUser(userId) directive with mSinchClient.getC

Solution 1:

If you have a conference ID set in place I would invoke the following method in order to use the Conference ID, or in this case the Call ID

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.callscreen);

    mAudioPlayer = new AudioPlayer(this);
    mCallDuration = (TextView) findViewById(R.id.callDuration);
    mCallerName = (TextView) findViewById(R.id.remoteUser);
    mCallState = (TextView) findViewById(R.id.callState);
    Button endCallButton = (Button) findViewById(R.id.hangupButton);

    endCallButton.setOnClickListener(new OnClickListener() {
        @Override
        public void onClick(View v) {
            endCall();
        }
    });
    mCallStart = System.currentTimeMillis();
    mCallId = getIntent().getStringExtra(SinchService.CALL_ID);
    mPin = getIntent().getStringExtra("PIN");

}

Post a Comment for "Testing Conference Call On Android"