RTCEngineEvent is passed in at RTCEngine.create(...) and shares the Engine lifecycle. It carries only Engine-level errors; join results, users, tracks, and channel connection events are still dispatched by the corresponding channel’s RTCClientEvent.
If you only need to override some methods, extend RTCEngineSimpleEvent.
onError(channelId, errorCode, message)
Example:
RTCClientEvent.onError(...) and the intermediate wrapper type RTCEngineError have been removed. For error code ownership, see Error codes.