GetFromBridge

Bridges an RTE object from IRtcEngine.

static Rte GetFromBridge(Error* err = nullptr)
Since
Added since v4.4.0.

The RTE object created through this method does not require calling InitMediaEngine for initialization. If the RTC engine has not yet been created and initialized, you can first call Rte to create an RTE object and then call InitMediaEngine to initialize it.

Timing

Before calling this method, make sure you have called initialize to initialize the RTC engine.

Parameters

err
An output parameter. Used to receive status or error information. See Error.

Return Values

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