Initialization

createAgoraRtcEngine

Creates an IRtcEngine object.

AGORA_API agora::rtc::IRtcEngine* AGORA_CALL createAgoraRtcEngine();

In Agora RTC SDK v4.x, each app supports creating only one IRtcEngine object.

Return Values

  • The IRtcEngine object, if the method call succeeds. See IRtcEngine.
  • An empty pointer , if the method call fails.