修改音视频签名14

This commit is contained in:
wucongxing 2024-02-02 16:01:17 +08:00
parent fc3553c322
commit 4f67eb9df2
2 changed files with 6 additions and 8 deletions

View File

@ -1711,13 +1711,12 @@ class CallBackController extends AbstractController
*/ */
public function trtcCallBack(): ResponseInterface public function trtcCallBack(): ResponseInterface
{ {
dump(111); $request_params = $this->request->getBody()->getContents();
try { $SdkAppId = $this->request->header("SdkAppId");
$request_params = $this->request->getBody()->getContents(); $Sign = $this->request->header("Sign");
$SdkAppId = $this->request->header("SdkAppId"); $Sign = stripslashes($Sign);
$Sign = $this->request->header("Sign");
$Sign = stripslashes($Sign);
try {
Log::getInstance("CallBackController-trtcCallBack")->info(json_encode($request_params, JSON_UNESCAPED_UNICODE)); Log::getInstance("CallBackController-trtcCallBack")->info(json_encode($request_params, JSON_UNESCAPED_UNICODE));
if (empty($SdkAppId)) { if (empty($SdkAppId)) {

View File

@ -39,8 +39,7 @@ class Auth
"/test/refund" => "get", // 测试退款 "/test/refund" => "get", // 测试退款
"/test" => "get", // 测试 "/test" => "get", // 测试
"/callback/detection" => "post", // 检测所结果回调 "/callback/detection" => "post", // 检测所结果回调
"/callback/trtc/media" => "post", // 音视频房间回调 "/callback/trtc" => "post", // 音视频回调
"/callback/trtc/room" => "post", // 音视频媒体回调
]; ];
} }