RTCEngine.setRtcCameraDeviceEvent(...); pass null to unbind. If you only care about some events, extend RTCCameraDeviceSimpleEvent.
This interface has been split out of
RTCMediaEvent. It carries no channel parameter and isn’t reported repeatedly when multiple channels publish the same camera track.