-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mjpeg and snap not working #10
Comments
@williamkennyAK here are the addresses for the ppsapp you posted in #9: |
Thank you @guino! |
I still have not gotten snap.cgi, mjpeg.cgi, and play.cgi working. Ghidra still confuses the crap outta me... Thanks! |
Okie dokie dopey do. I'm an idiot. I got it working just didn't pay close enough attention to detail... |
I tried the instructions to find pps_media_md_get_pic in the ppsapp, however, there IS NO REFERENCE.
the closest I can find is this:
000ff918 00 70 8d e5 str r7=>s_httpc_get_pic_00275b00,[sp,#0x0]=>local_40 = "httpc_get_pic"
The funtion associated with it is as follows:
int FUN_000ff858(int param_1,undefined4 param_2)
{
int iVar1;
int iVar2;
int iVar3;
undefined4 local_2c [2];
local_2c[0] = param_2;
if (param_1 == 0) {
FUN_000d42a8(0,0,
"/var/lib/jenkins/workspace/Release_IPC_SDK/src/tuya_iot_sdk/tuya_cloud/iot_httpc.c"
,0x64d,"httpc_get_pic","invalid param");
iVar1 = -2;
}
else {
FUN_000d42a8(0,4,
"/var/lib/jenkins/workspace/Release_IPC_SDK/src/tuya_iot_sdk/tuya_cloud/iot_httpc.c"
,0x651,"httpc_get_pic","begin to download file. url:%s",param_1);
iVar2 = 0;
do {
iVar3 = iVar2;
FUN_000d42a8(0,4,
"/var/lib/jenkins/workspace/Release_IPC_SDK/src/tuya_iot_sdk/tuya_cloud/iot_httpc.c"
,0x659,"httpc_get_pic","try:%d",iVar2);
iVar1 = FUN_000f82e0(param_1,&LAB_000fbc50,local_2c);
iVar2 = iVar2 + 1;
if (iVar1 == 0) {
FUN_000d42a8(0,4,
"/var/lib/jenkins/workspace/Release_IPC_SDK/src/tuya_iot_sdk/tuya_cloud/iot_httpc.c"
,0x65e,"httpc_get_pic","download file finish",iVar3);
return 0;
}
FUN_000d62b4(5000);
} while (iVar2 != 2);
}
return iVar1;
}
Is this a new firmware?
As stated in issue #9, all I had to do was enable onvif in the tuya_config.json and it seemed to just work.
The text was updated successfully, but these errors were encountered: