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.
}
}
Parent topic: Development Process of the Video Stream Engine Client