'Local Video Track delayed by 10 seconds in Quickblox Video conference

I am using quickblox Android SDK for video conference.All run good but while making call video track is delayed by 10 seconds.

@Override
    public void onLocalVideoTrackReceive(ConferenceSession session, QBRTCVideoTrack videoTrack) {
        Log.d(TAG, "onLocalVideoTrackReceive");
        cameraState = CameraState.NONE;
        actionButtonsEnabled(true);

        //boolean isNeedEnableLocalVideo = sharedPrefsHelper.get(Consts.PREF_CAM_ENABLED, false);
        boolean isNeedEnableLocalVideo = true;

        if (conversationFragmentCallback.isScreenSharingState()) {
            return;
        }
        conversationFragmentCallback.onSetVideoEnabled(isNeedEnableLocalVideo);
        onConnectedToUser(session, currentUser.getId());
       // fillVideoView(fullScreenVideoView,videoTrack,true);

        // ProgressDialogUtil.dismissProgress();

    }

This callback get call after 10 seconds.I need to display local video track as soon as possible

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source