getFromBridge

Bridges an RTE object from RtcEngine.

public static synchronized Rte getFromBridge() throws RteException
Since
Added since version v4.4.0.

The RTE object created through this method does not require initialization via initMediaEngine. If you have not yet created and initialized the RTC engine, you can first create an RTE object using RTE, and then call initMediaEngine for initialization.

Timing

Before calling this method, make sure you have called create [2/2] to initialize the RTC engine.

Exceptions

If the method call fails, the SDK throws an RteException and returns the corresponding error information. You need to catch and handle this exception.

Return Values

If the method call is successful, returns an RTE object.