GetFromBridge
Bridges an RTE object from RtcEngine.
public static synchronized Rte getFromBridge() throws RteException;
- Since
- v4.5.0
The RTE object created by calling this method does not need to be initialized again using initMediaEngine. If you have not created and initialized the RTC engine before, you can first call Rte to create an RTE object, and then call initMediaEngine to initialize it.
Call timing
Before calling this method, ensure that you have initialized the RTC engine using create [2/2].
Restrictions
None.
Returns
Exception
If the method call fails, the SDK throws RteException and returns an error message. You need to catch the exception and handle it.