How to do when the video does not show up after
invoking startPreview?
Last Updated on:2023-12-07 06:07:47
Check whether thecameraobject is created.
Check the error message that is returned in thecameraInitFailed:callback.
Ifnilis returned for thecameraobject, check whetherp2pTypeis1.
Ifp2pTypeis1, importTuyaSmartCameraT. This module is no longer maintained. We recommend that you contact the manufacturer to update the IP camera (IPC) firmware.
Check whether a peer-to-peer (P2P) connection is created.startPreivewmust be called after the callbackcameraDidConnected:is executed.