http access事件新增文件绝对路径参数

This commit is contained in:
xia-chu
2026-03-09 18:00:12 +08:00
parent d3bf11b4ee
commit ca47a1f8b2
5 changed files with 9 additions and 8 deletions

View File

@@ -692,7 +692,7 @@ bool PythonInvoker::on_http_access(BroadcastHttpAccessArgs) const {
if (!_on_http_access) {
return false;
}
return _on_http_access(to_python_ref(parser), path, is_dir, to_python(invoker), to_python(sender)).cast<bool>();
return _on_http_access(to_python_ref(parser), path, file_path, is_dir, to_python(invoker), to_python(sender)).cast<bool>();
}
bool PythonInvoker::on_rtp_server_timeout(BroadcastRtpServerTimeoutArgs) const {