我要评分
获取效率
正确性
完整性
易理解

Calling the initialize Interface Function of the Video Stream Engine Object

Application Scenario

Initialize the video stream engine and transfer the IP address, port number, and server-side cloud phone resolution.

Prerequisites

A video stream engine object has been created.

Development Process

Call the initialize interface function of the video stream engine.

Encoding Instance

public class Activity implements BaseActivity {
    protected void onCreate(Bundle savedInstanceState) {
        int initResult = engine.initialize();
        if (initResult != VideoEngine.VMI_SUCCESS) {
           // The initialization fails. Exit the processing.
        } 
     }