ipc与pc接入同一个无线ssid,onvif测试工具无法搜索到ipc, ipc端有如下log:
[1970-1-1 0:0:20.668 ty_onvif_server.c __onvif_discover_task(1212) Debug] onvif discover start
[1970-1-1 0:0:20.669 soap_socket.c soap_udp_add_multicast(102) Error] socket set multicast failed, errno[19]
【TuyaOS OS】onvif测试相关问题
【TuyaOS OS】onvif测试相关问题
Re: 【TuyaOS OS】onvif无法搜索到ipc
请提供从设备启动到搜索不到ipc整个过程的日志
Re: 【TuyaOS OS】onvif测试相关问题
onvif test时很多测不过,并且检测到profile S并不支持,附件中相关的截图以及log,请帮忙分析
- Attachments
-
-
-
- log_10160209.log
- (3.74 MiB) Downloaded 228 times
Re: 【TuyaOS OS】onvif测试相关问题
我们只支持部分接口,如下:
设备管理类
GetCapabilities
GetDeviceInformation
GetServices
GetServiceCapabilities
媒体类
GetProfile
GetProfiles
GetAudioSources
GetAudioSourceConfiguration
GetAudioSourceConfigurations
GetAudioEncoderConfiguration
GetAudioEncoderConfigurations
GetVideoSources
GetVideoSourceConfiguration
GetVideoSourceConfigurations
GetVideoEncoderConfiguration
GetVideoEncoderConfigurations
GetVideoEncoderConfigurationOptions
SetVideoEncoderConfiguration
GetStreamUri
PTZ控制类
GetConfiguration
GetConfigurations
GetNode
GetNodes
ContinuousMove
Stop
GetStatus
AbsoluteMove
RelativeMove
GetPresets
SetPreset
RemovePreset
GotoPreset
Re: 【TuyaOS OS】onvif测试相关问题
测试getprofiles会出错,log见附件
log中有如下错误信息
[2023-5-12 16:21:28.242 app_sys_ptz.c __do_preset_point(541) Debug] stop time is :64184
[2023-5-12 16:21:28.450 app_sys_ptz.c __do_ptz_set_back_pos(569) Debug] -----pre_pos do not need update !!! -----
[2023-5-12 16:21:28.451 app_sys_ptz.c __do_patrol(1036) Debug] __do_patrol_point __drv_get_pos 199
[2023-5-12 16:21:28.554 app_sys_ptz.c __do_patrol_point(922) Debug] patrol index: [0]
Type: 2, managed
[2023-5-12 16:21:28.987 soap_http.c soap_http_authenticate(592) Error] check auth failed
[2023-5-12 16:21:28.987 soap_server.c soap_server_process(279) Error] soap process[GetProfiles]error[12]
[2023-5-12 16:21:28.990 soap_common.c soap_send_err_response(1817) Debug] send err success
- Attachments
-
- log_12162028.log
- (604.93 KiB) Downloaded 251 times
-
Re: 【TuyaOS OS】onvif测试相关问题
ryxiong 2023年 May 12日 16:10测试getprofiles会出错,log见附件
log中有如下错误信息
[2023-5-12 16:21:28.242 app_sys_ptz.c __do_preset_point(541) Debug] stop time is :64184
[2023-5-12 16:21:28.450 app_sys_ptz.c __do_ptz_set_back_pos(569) Debug] -----pre_pos do not need update !!! -----
[2023-5-12 16:21:28.451 app_sys_ptz.c __do_patrol(1036) Debug] __do_patrol_point __drv_get_pos 199[2023-5-12 16:21:28.554 app_sys_ptz.c __do_patrol_point(922) Debug] patrol index: [0]
Type: 2, managed
[2023-5-12 16:21:28.987 soap_http.c soap_http_authenticate(592) Error] check auth failed
[2023-5-12 16:21:28.987 soap_server.c soap_server_process(279) Error] soap process[GetProfiles]error[12]
[2023-5-12 16:21:28.990 soap_common.c soap_send_err_response(1817) Debug] send err success
你好,我自测是正常的,会不会是操作的问题?
- Attachments
-
Re: 【TuyaOS OS】onvif测试相关问题
操作没问题,是因为开了第三路码流,导致buf不足,onvif 分配失败,最后出现交互失败,将第三路拿掉后,测试正常。
Re: 【TuyaOS OS】onvif测试相关问题
第一路preview失败,第二路正常,看起来是因为onvif test tool不支持h265导致的。
Re: 【TuyaOS OS】onvif测试相关问题
郭老庄 2023年 May 11日 18:12我们只支持部分接口,如下:
设备管理类
GetCapabilities
GetDeviceInformation
GetServices
GetServiceCapabilities媒体类
GetProfile
GetProfiles
GetAudioSources
GetAudioSourceConfiguration
GetAudioSourceConfigurations
GetAudioEncoderConfiguration
GetAudioEncoderConfigurations
GetVideoSources
GetVideoSourceConfiguration
GetVideoSourceConfigurations
GetVideoEncoderConfiguration
GetVideoEncoderConfigurations
GetVideoEncoderConfigurationOptions
SetVideoEncoderConfiguration
GetStreamUriPTZ控制类
GetConfiguration
GetConfigurations
GetNode
GetNodes
ContinuousMove
Stop
GetStatus
AbsoluteMove
RelativeMove
GetPresets
SetPreset
RemovePreset
GotoPreset
你好,我使用 win11 pc 对 tuya 进行 ip camera 的添加,会添加失败,麻烦看下这个问题;详情如下:
1,将 pc 与 tuya demo 板配置在同一网段下,且互相可以 ping 通;
2,点击 pc 端 Bluetooth & device > cameras > "search for cameras" 后,tuya demo 板会报错如下:
[2023-6-7 10:46:43.569 soap_http.c soap_http_authenticate(592) Error] check auth failed
[2023-6-7 10:46:43.569 soap_request_parser.c soap_get_request_type(149) Error] unsupport type: GetSystemDateAndTime
[2023-6-7 10:46:43.569 soap_common.c soap_process_body_begin(1195) Error] soap authenticate error
[2023-6-7 10:46:43.570 soap_server.c soap_server_process(279) Error] soap process[GetSystemDateAndTime]error[12]
[2023-6-7 10:46:43.673 soap_server.c soap_server_process(279) Error] soap process[GetDeviceInformation]error[12]
[2023-6-7 10:46:43.833 soap_request_parser.c soap_get_request_type(149) Error] unsupport type: GetHostname
[2023-6-7 10:46:43.833 soap_common.c soap_process_body_begin(1195) Error] soap authenticate error
[2023-6-7 10:46:43.833 soap_server.c soap_server_process(279) Error] soap process[GetHostname]error[12]
3,pc 搜索到 tuya ipc 设备后,点击"add camera" 会显示"Couldn't add device. Try again";
对比测试,搭配其他 demo 板,使用同一台 pc 进行 add camera 测试,可以正常添加,soap 流程部分 log 如下所示:
soap_process::body first child node name[GetServiceCapabilities].
soap_GetServiceCapabilities
http user over tcp from[0x7301a8c0,12161]
soap_process::body first child node name[GetSystemDateAndTime].
soap_GetSystemDateAndTime
http user over tcp from[0x7301a8c0,12162]
soap_process::body first child node name[GetDeviceInformation].
soap_security_rly.
soap_err_rly
http user over tcp from[0x7301a8c0,12163]
soap_process::body first child node name[GetHostname].
soap_GetHostname
http user over tcp from[0x7301a8c0,12166]
soap_process::body first child node name[GetNetworkProtocols].
soap_security_rly.
soap_err_rly
http user over tcp from[0x7301a8c0,12167]
soap_process::body first child node name[GetNetworkProtocols].
soap_GetNetworkProtocols
http user over tcp from[0x7301a8c0,12172]
soap_process::body first child node name[GetVideoSources].