Responder preparation status
Before starting two-way communication in a 1-to-1 call, the callee may need time to check their face or clothing, or the app may need to provide the callee with voice guidance about the caller's information. To accommodate such various needs, PlanetKit provides the responder preparation status function. This guide explains how to add responder preparation status to the 1-to-1 call setup flow.
Supported call type | Supported SDK version |
---|---|
1-to-1 call | All versions |
API call sequence
The following sequence diagram shows a flow for using the responder preparation status function.
Considerations for implementation
On the callee side, you must ensure that the caller side supports the responder preparation status function in order to enable responder preparation status. You can check whether the caller side supports the function through the onVerified
event. If the caller side does not support the function, the call is connected without enabling the function and the two-way communication begins, even if useResponderPreparation
is set to true
when calling acceptCall()
.
On the caller side, you can find out that the callee has enabled responder preparation status when the onConnected
event occurs. During this preparation status, LINE Planet does not send or receive any media packets. Once the callee finishes the preparation, the callee's app client calls finishPreparation()
and the onPreparationFinished
event occurs. After that, LINE Planet starts sending or receiving media packets for two-way communication.
Related API
APIs related to responder preparation status are as follows.
Methods/Properties
-
responderPreparation()
ofPlanetKitMakeCallParam.Builder
-
makeCall()
-
acceptCall()
-
finishPreparation()