Rate This Document
Findability
Accuracy
Completeness
Readability

Troubleshooting Data Callback Function Registration Faults on the Server

Symptom

If an exception occurs when the engine server registers the data callback function with the encoder, the engine reports a VMI_VIDEO_ENGINE_REGISTER_ERR event. You can view related messages in logs.

Impact on the System

When this fault occurs, the engine server reports a VMI_VIDEO_ENGINE_REGISTER_ERR event and continues to initialize the encoder. However, because the data callback function fails to be registered, the encoder fails to be initialized and the client is disconnected.

Possible Cause

An exception occurs when the encoder receives the data callback function and completes the registration.

Procedure

  1. In the logs generated by the engine, search for logs whose LOG_TAG is VMI_VideoEngine and level is error, and then determine the cause based on the logs.
  2. If the data callback function fails to be registered due to an encoder exception, rectify the exception and restart the encoder.
  3. Reconnect the mobile phone to the cloud phone. The service recovers.