[LOG_I][DevKeyScanTask.c: 102] adcVal = 1784 [LOG_I][EasyCamTask.c: 84] easycam_task_handle_msg, msg_id:0x18, msg_param:0 [LOG_I][EasyCamTask.c: 367] Post message start play audio res [LOG_I][ShareData.c: 48] generateNewRecordId: 0X6A292746 [LOG_I][EasyCamTask.c: 401] Post message restart record [LOG_I][EsPush.c: 521] EsSendRingMessage [LOG_I][AVTaskMsg.c: 52] start snap, buf size:131072 [LOG_I][AVTask.c: 27] av_task_handle_msg, msg_id:0x6, msg_param:0 [LOG_I][AVTask.c: 51] AV_TASK_MSG_ID_START_PLAY_AUDIO_RES, id:0 [DBG_][AVStream.c: 2021] start_play_audio_res => res_id:0, loop:2 [LOG_I][AVTask.c: 27] av_task_handle_msg, msg_id:0xb, msg_param:0x10a0c10 [LOG_I][AVTask.c: 39] avSnapPicture Snap AV_TASK_MSG_ID_SNAP [LOG_I][DevMngTask.c: 222] devmng_task_handle_msg, msg_id:0x4, msg_param:0 [LOG_I][DevMngTask.c: 117] open chime, chimeType=3 [LOG_I][RecordTask.c: 50] record_task_handle_msg, msg_id:0x4, msg_param:0x1 [LOG_I][AVRecord.c: 667] stop_record, dropRecord:0 [LOG_I][AVRecord.c: 673] not recording, no need stop. [LOG_I][AVRecord.c: 576] start_record, type:1 [LOG_I][AVRecord.c: 598] recordState:0 [LOG_I][AVRecord.c: 617] need create new record. [LOG_I][AVRecord.c: 1156] record path:/sd/ACdoorbell/rs016d2565b7e5db4a24 is already exist [LOG_I][gmavi.c: 278] tmp_str:/sd/ACdoorbell/temp.avi_idx, file_mode:wb+ [LOG_I][AVRecord.c: 1368] create /sd/ACdoorbell/temp.avi success [LOG_I][AVRecord.c: 660] start_record success, recordId:6A292746. [LOG_I][AVRecord.c: 179] record_thread_func start [LOG_I][RingBuffer.c: 459] Create ring buffer success, bufName:MainVideo, usrName:Record, memAddr:0x67a02008, usrIndex:1 [LOG_I][AVRecord.c: 220] Record buf, handle:1, UsrIdx:1 [LOG_I][RingBuffer.c: 459] Create ring buffer success, bufName:AudioStream, usrName:Record, memAddr:0xe54c38, usrIndex:0 [LOG_W][AVRecord.c: 301] find key frame, pVideoFrame->seqNo=[0] sLastRecordEndFrameSeqNo=[0], ABS_DIFF=0 [LOG_I][AVRecord.c: 320] Record first frame video time stamp:690403763 [LOG_I][AVRecord.c: 372] Record first frame Audio time stamp:700565653 [01-25 14:07:25 ty I][tuya_ipc_media_stream.c:71] [RTC LOG] {"t":709321,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_session_stats","tid":"","s":"6c59ba5905e12088cacjr11706162769eBRAxH4z","l":"6c59ba5905e12088cacjr1","r":"ay1668160283687MvekA","o":1,"d":76167} [LOG_I][AudioRes.c: 43] Read audio res success, len:192 [LOG_I][AudioRes.c: 43] Read audio res success, len:31200 [DBG_][AVStream.c: 1819] Resample audio res, size:31200, newSampleRate:8000[LOG_I][AVTask.c: 27] av_task_handle_msg, msg_id:0x8, msg_param:0 [LOG_W][AVTaskMsg.c: 60] Snap complete, size:4543 [LOG_I][EsPush.c: 553] ring pSnapMsgContext->snapSize = 4543 [LOG_W][TuyaMediaService.c: 663] Notify start cloud storage, type=0 [LOG_W][EsPush.c: 312] Got push message:0 [LOG_I][EsPush.c: 323] tuya_ipc_notify_with_event [01-25 14:07:26 ty D][tuya_ipc_notify.c:187] size:0 type 1 [01-25 14:07:26 ty D][mqc_app.c:691] Send MQTT Msg.P:43 N:32426 Q:1 Data:{"etype":"ac_doorbell","edata":"a027e2011706162846","devId":"6c59ba5905e12088cacjr1","filename":"1706162846.jpeg","time":"1706162846"} [01-25 14:07:26 ty D][tuya_svc_mqtt_client.c:427] packet id: 52 [01-25 14:07:26 ty D][tuya_ipc_notify.c:197] send mq done [01-25 14:07:26 ty D][tuya_ipc_event.c:803] start upload alarm to cloud [01-25 14:07:26 ty D][tuya_ipc_event.c:848] start tuya_notification_content_upload_from_buffer_unify [01-25 14:07:26 ty D][upload_notification.c:649] cfg_type=2, security_level=3 [01-25 14:07:26 ty D][encrypt_pic.c:193] en with key md5 34712824cd5f21a2ce2e2f5043b8a8f1 [01-25 14:07:26 ty D][encrypt_pic.c:129] security_level[3] en with iv[7dadd49999699818], size 4543 to 4544 [01-25 14:07:26 ty D][encrypt_pic.c:132] en with key md5 34712824cd5f21a2ce2e2f5043b8a8f1 [01-25 14:07:26 ty D][encrypt_pic.c:140] en with size 4543 to 4608 [01-25 14:07:26 ty D][upload_notification.c:498] notification from buffer. type:image/jpeg name:1706162846.jpeg data_len:4608 [01-25 14:07:26 ty D][cloud_operation.c:1626] Final PUT:https://ty-cn-storage30-1254153901.tuyacn.com/2df829-69933427-rs016d2565b7e5db4a24/unify/1706162846.jpeg,size 4608 [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [01-25 14:07:26 ty D][httpc.c:620] Connect: ty-cn-storage30-1254153901.tuyacn.com Port: 443 -->> [01-25 14:07:26 ty D][uni_network.c:230] unw_gethostbyname ty-cn-storage30-1254153901.tuyacn.com, prio 1 [01-25 14:07:26 ty D][uni_network.c:246] use dynamic dns ip:58.217.250.17 for domain:ty-cn-storage30-1254153901.tuyacn.com [01-25 14:07:26 ty D][tcp_transporter.c:79] bind ip:c0a81d05 port:0 ok [01-25 14:07:26 ty E][tuya_ipc_cloud_storage.c:2549] event on going now, stop it first [01-25 14:07:26 ty D][tuya_tls.c:945] MAX SECURITY_LEVEL:1, TUYA SECURITY_LEVEL:1, mode:1 [01-25 14:07:26 ty D][tuya_tls.c:954] TUYA_TLS Begin Connect ty-cn-storage30-1254153901.tuyacn.com:443 [01-25 14:07:26 ty D][tuya_tls.c:714] mbedtls authmode: MBEDTLS_SSL_VERIFY_REQUIRED [01-25 14:07:26 ty D][tuya_tls.c:727] load tuya cert. [01-25 14:07:26 ty D][tuya_cert_manager.c:213] p_url:ty-cn-storage30-1254153901.tuyacn.com, rcs.urlx:h6-ay.iot-dns.com [01-25 14:07:26 ty D][tuya_cert_manager.c:241] third cloud url [01-25 14:07:26 ty D][tuya_cert_manager.c:103] load ca to tls [01-25 14:07:26 ty D][tuya_tls.c:1036] socket fd is set. set to inner send/recv to handshake [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [01-25 14:07:26 ty D][tuya_ipc_p2p.c:4430] media send proc alive [130000] [01-25 14:07:26 ty D][tuya_tls.c:687] mbedtls_cert_pkey_free. [01-25 14:07:26 ty D][tuya_tls.c:1098] handshake finish for ty-cn-storage30-1254153901.tuyacn.com. set send/recv to user set [01-25 14:07:26 ty D][tuya_tls.c:1104] TUYA_TLS Success Connect ty-cn-storage30-1254153901.tuyacn.com:443 Suit:TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256 [01-25 14:07:26 ty D][httpc.c:622] Connect: ty-cn-storage30-1254153901.tuyacn.com Port: 443 --<< ,r:0 [01-25 14:07:26 ty D][tuya_ipc_p2p.c:4840] session detect run [01-25 14:07:26 ty D][tls_transporter.c:93] tls transporter close socket fd:38 [01-25 14:07:26 ty D][tcp_transporter.c:177] tcp transporter close socket fd:38 [01-25 14:07:26 ty D][tls_transporter.c:101] tls transporter close tls handler:0xfecb58 [01-25 14:07:26 ty D][tuya_tls.c:1180] TUYA_TLS Disconnect ENTER [01-25 14:07:26 ty D][tuya_tls.c:1205] TUYA_TLS Disconnect Success [01-25 14:07:26 ty D][tuya_tls.c:907] tuya_tls_connect_destroy. [01-25 14:07:26 ty D][cloud_operation.c:1688] HTTPS PUT https://ty-cn-storage30-1254153901.tuyacn.com/2df829-69933427-rs016d2565b7e5db4a24/unify/1706162846.jpeg done,size 4608 cost 781 ms [01-25 14:07:26 ty D][upload_notification.c:531] __notification_content_upload_from_buffer success [01-25 14:07:26 ty D][tuya_ipc_event.c:898] start tuya_notification_message_upload_for_event_unify [01-25 14:07:26 ty D][upload_notification.c:1516] notify DP:212 timeout:5 [01-25 14:07:26 ty D][upload_notification.c:1521] count:1 and len:834 [01-25 14:07:26 ty D][upload_notification.c:1552] final:{"v":"5.0","cost_time":"783","cmd":"ipc_doorbell","type":"image","with":"resource","alarm":true,"time":1706162846,"files":[["ty-cn-storage30-1254153901","/2df829-69933427-rs016d2565b7e5db4a24/unify/1706162846.jpeg","478c9c57bc474f67","1708754846"]]} [01-25 14:07:26 ty D][smart_frame.c:3797] rept chan:1 [01-25 14:07:26 ty D][smart_frame.c:754] para err:212 [01-25 14:07:26 ty D][smart_frame.c:3810] dp compose null, ret:-6 [01-25 14:07:26 ty E][upload_notification.c:1555] tuya_notify_message_upload failed:-6 [01-25 14:07:26 ty D][upload_notification.c:1516] notify DP:212 timeout:5 [01-25 14:07:26 ty D][upload_notification.c:1521] count:1 and len:834 [01-25 14:07:26 ty D][upload_notification.c:1552] final:{"v":"5.0","cost_time":"783","cmd":"ipc_doorbell","type":"image","with":"resource","alarm":true,"time":1706162846,"files":[["ty-cn-storage30-1254153901","/2df829-69933427-rs016d2565b7e5db4a24/unify/1706162846.jpeg","478c9c57bc474f67","1708754846"]]} [01-25 14:07:26 ty D][smart_frame.c:3797] rept chan:1 [01-25 14:07:26 ty D][smart_frame.c:754] para err:212 [01-25 14:07:26 ty D][smart_frame.c:3810] dp compose null, ret:-6 [01-25 14:07:26 ty E][upload_notification.c:1555] tuya_notify_message_upload failed:-6 [01-25 14:07:26 ty D][upload_notification.c:1516] notify DP:212 timeout:5 [01-25 14:07:26 ty D][upload_notification.c:1521] count:1 and len:834 [01-25 14:07:26 ty D][upload_notification.c:1552] final:{"v":"5.0","cost_time":"783","cmd":"ipc_doorbell","type":"image","with":"resource","alarm":true,"time":1706162846,"files":[["ty-cn-storage30-1254153901","/2df829-69933427-rs016d2565b7e5db4a24/unify/1706162846.jpeg","478c9c57bc474f67","1708754846"]]} [01-25 14:07:26 ty D][smart_frame.c:3797] rept chan:1 [01-25 14:07:26 ty D][smart_frame.c:754] para err:212 [01-25 14:07:26 ty D][smart_frame.c:3810] dp compose null, ret:-6 [01-25 14:07:26 ty E][upload_notification.c:1555] tuya_notify_message_upload failed:-6 [01-25 14:07:26 ty E][tuya_ipc_event.c:923] upload msg err [01-25 14:07:26 ty D][tuya_ipc_event.c:946] stop upload alarm to cloud [LOG_I][EsPush.c: 335] ---2024-1-25--ES_PUSH_NOTIFICATION_TYPE_RING-tuya_ipc_notify_with_event success [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [LOG_I][DevMngTask.c: 174] stop chime [LOG_I][AVRecord.c: 422] Record duration:15266 ms up to desired duration:15000 ms, stop [LOG_I][AVRecord.c: 430] Post message stop record. [LOG_I][AVRecord.c: 472] record_thread_func exit [LOG_I][EasyCamTask.c: 84] easycam_task_handle_msg, msg_id:0x14, msg_param:0 [LOG_I][EasyCamTask.c: 306] Post message stop record. [LOG_I][RecordTask.c: 50] record_task_handle_msg, msg_id:0x3, msg_param:0 [LOG_I][RecordTask.c: 64] RECORD_TASK_MSG_ID_STOP_RECORD, msg_param:0 [LOG_I][AVRecord.c: 667] stop_record, dropRecord:0 [LOG_I][AVRecord.c: 680] Start wait AVRecord task exit [LOG_I][AVRecord.c: 682] AVRecord task exited [LOG_I][AVRecord.c: 1396] AVI totalFrame:330, totalTime:10999ms [LOG_I][AVRecord.c: 1399] VideoStreamInfo: TotalLen=330, frameRate=30, totalTime=11000 ms [LOG_I][AVRecord.c: 1401] AudioStreamInfo: TotalLen=40000, sampleRate=8000, totalTime=5000ms [LOG_I][AVRecord.c: 1403] dwMicroSecPerFrame after:33333 ms, Rate:30, scale:1 [LOG_I][AVRecord.c: 1427] close AVI file success [LOG_I][AVRecord.c: 1052] getStartTime, start_yy:2024, start_mm:1, start_dd:25, start_hh:14, start_mi:07, start_ss:12 [LOG_I][AVRecord.c: 1069] record real path:/sd/ACdoorbell/rs016d2565b7e5db4a24/2024/1/25 [LOG_I][AVRecord.c: 1156] record path:/sd/ACdoorbell/rs016d2565b7e5db4a24/2024/1/25 is already exist [LOG_I][AVRecord.c: 1109] before rename,old:/sd/ACdoorbell/temp.avi, new:/sd/ACdoorbell/rs016d2565b7e5db4a24/2024/1/25/2024-1-25_140712_65B1FA90_65B1FA9F(6A292746).avi Can't Access /sd/ACdoorbell/rs016d2565b7e5db4a24/2024/1/25/2024-1-25_140712_65B1FA90_65B1FA9F(6A292746).avi [LOG_I][AVRecord.c: 1117] rename record file ok. oldName:/sd/ACdoorbell/temp.avi, newName:/sd/ACdoorbell/rs016d2565b7e5db4a24/2024/1/25/2024-1-25_140712_65B1FA90_65B1FA9F(6A292746).avi [LOG_I][AVRecord.c: 1133] before del,path:/sd/ACdoorbell/temp.avi_idx /sd/ACdoorbell/temp.avi_idx [LOG_I][AVRecord.c: 1143] del avi index file ok. [LOG_I][AVRecord.c: 748] stop_record complete [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [01-25 14:07:30 ty D][cloud_operation.c:1626] Final PUT:https://ty-cn-storage7.oss-cn-shanghai.aliyuncs.com/2df829-69933427-rs016d2565b7e5db4a24/v/1706162762_0077.media,size 420074 [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [01-25 14:07:30 ty D][httpc.c:620] Connect: ty-cn-storage7.oss-cn-shanghai.aliyuncs.com Port: 443 -->> [01-25 14:07:30 ty D][uni_network.c:230] unw_gethostbyname ty-cn-storage7.oss-cn-shanghai.aliyuncs.com, prio 1 [01-25 14:07:30 ty D][uni_network.c:246] use dynamic dns ip:180.163.44.51 for domain:ty-cn-storage7.oss-cn-shanghai.aliyuncs.com [01-25 14:07:30 ty D][tcp_transporter.c:79] bind ip:c0a81d05 port:0 ok [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [01-25 14:07:30 ty D][tuya_ipc_p2p.c:2400] media recv proc alive [134000] [01-25 14:07:30 ty D][tuya_tls.c:945] MAX SECURITY_LEVEL:1, TUYA SECURITY_LEVEL:1, mode:1 [01-25 14:07:30 ty D][tuya_tls.c:954] TUYA_TLS Begin Connect ty-cn-storage7.oss-cn-shanghai.aliyuncs.com:443 [01-25 14:07:30 ty D][tuya_tls.c:714] mbedtls authmode: MBEDTLS_SSL_VERIFY_REQUIRED [01-25 14:07:30 ty D][tuya_tls.c:727] load tuya cert. [01-25 14:07:30 ty D][tuya_cert_manager.c:213] p_url:ty-cn-storage7.oss-cn-shanghai.aliyuncs.com, rcs.urlx:h6-ay.iot-dns.com [01-25 14:07:30 ty D][tuya_cert_manager.c:241] third cloud url [01-25 14:07:30 ty D][tuya_cert_manager.c:103] load ca to tls [01-25 14:07:30 ty D][tuya_tls.c:1036] socket fd is set. set to inner send/recv to handshake [01-25 14:07:30 ty D][tuya_imm_service_log.c:764] trigger upload timer.... [01-25 14:07:30 ty I][tuya_ipc_media_stream.c:71] [RTC LOG] {"t":714322,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_session_stats","tid":"","s":"6c59ba5905e12088cacjr11706162769eBRAxH4z","l":"6c59ba5905e12088cacjr1","r":"ay1668160283687MvekA","o":1,"d":81168} [01-25 14:07:30 ty D][tuya_imm_service_log.c:414] upload timer trigger.... [01-25 14:07:30 ty D][tuya_imm_service_log.c:437] start send. [01-25 14:07:30 ty D][mqc_app.c:891] Send MQTT Msg.P:312 N:32427 Q:0 [01-25 14:07:30 ty D][tuya_svc_mqtt_client.c:427] packet id: 53 [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [01-25 14:07:31 ty D][tuya_tls.c:687] mbedtls_cert_pkey_free. [01-25 14:07:31 ty D][tuya_tls.c:1098] handshake finish for ty-cn-storage7.oss-cn-shanghai.aliyuncs.com. set send/recv to user set [01-25 14:07:31 ty D][tuya_tls.c:1104] TUYA_TLS Success Connect ty-cn-storage7.oss-cn-shanghai.aliyuncs.com:443 Suit:TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256 [01-25 14:07:31 ty D][httpc.c:622] Connect: ty-cn-storage7.oss-cn-shanghai.aliyuncs.com Port: 443 --<< ,r:0 [01-25 14:07:31 ty D][tuya_ipc_p2p.c:4080] session cmd recv proc alive [128000] num[0] [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [01-25 14:07:33 ty D][tuya_ipc_p2p.c:4156] session cmd send proc alive [136000] num[0] [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6 [01-25 14:07:33 ty D][tuya_ipc_sdk_info.c:130] ipc get service time 1706162853 28800 [01-25 14:07:33 ty D][tuya_ipc_sdk_info.c:161] got service time 1706162853 28800 [LOG_W][TuyaService.c: 96] tuya_ipc_get_service_time success, utc:1706162853, time_zone:28800 [LOG_I][TuyaService.c: 109] tuya_ipc_check_in_dls:0 [LOG_I][TuyaService.c: 143] Set system time:1706162853 2024-1-25 14:07:33 [LOG_I][tkl_wifi.c: 816] tkl_wifi_station_get_status => status: 6