diff --git a/server/WebApi.cpp b/server/WebApi.cpp index 64402ad8..8b7487a5 100644 --- a/server/WebApi.cpp +++ b/server/WebApi.cpp @@ -697,7 +697,11 @@ void installWebApi() { API_REGIST(api,getSsrcInfo,{ CHECK_SECRET(); CHECK_ARGS("ssrc"); - auto process = RtpSelector::Instance().getProcess(allArgs["ssrc"],false); + uint32_t ssrc = 0; + stringstream ss(allArgs["ssrc"]); + ss >> std::hex >> ssrc; + + auto process = RtpSelector::Instance().getProcess(ssrc,false); if(!process){ val["exist"] = false; return;