TuyaInc / tuyasmart_home_ios_sdk

Tuya Smart iOS Home SDK
https://tuyainc.github.io/tuyasmart_home_ios_sdk_doc
50 stars 19 forks source link

Doorbell of p2pType "4" is unable to show the live video. #68

Closed nimesh1997 closed 3 years ago

nimesh1997 commented 3 years ago

Hi, While opening doorbell of p2pType 4 I got an below mentioned errror, previous month it is working fine but now it is not working and not showing the live video. 23496385 ERROR src/tuya_rtc.c:1566: rtc session 1 connect timeout 23496385 INFO  src/tuya_rtc.c:1763: rtc session 1 state change: P2P_CONNECT -> FAILED 23496385 INFO  src/tuya_rtc.c:5457: close session 1 23496392 INFO  src/tuya_rtc.c:3358: destroy rtc session 1 didOccurredError called with : TYCameraErrorCode(rawValue: 1) 23496509 INFO  src/tuya_rtc.c:4424: can not find rtc session 23496509 INFO  src/tuya_rtc.c:4424: can not find rtc session 23496509 INFO  src/tuya_rtc.c:4424: can not find rtc session 23496509 INFO  src/tuya_rtc.c:4424: can not find rtc session 23496509 INFO  src/tuya_rtc.c:4424: can not find rtc session Please help to resolve find the problem. Thanks!

tuyaLang commented 3 years ago

Please provide the device id and a more complete console log

nimesh1997 commented 3 years ago

I had fixed this issue after doing some changes in my code. Thanks.