【问题标题】:Soap getProfiles returns error if device codec is set on H.265如果在 H.265 上设置了设备编解码器,Soap getProfiles 将返回错误
【发布时间】:2022-10-20 19:11:11
【问题描述】:

我使用 gSOAP 2.8.123E 生成了代理。使用 MediaBindingProxy 中包含的消息,我尝试使用 GetProfiles 消息检索远程设备上的配置文件列表。

如果我在 H.264 上设置设备编解码器,一切都很好,但是当编解码器是 H.265 时,我在肥皂响应中检索到错误(用 wireshark 嗅探我注意到 H.265 配置文件已正确返回)。

        bool soap_OK = false;
        MediaBindingProxy   * media;
        AddUsernameTokenDigest(media, NULL, GetUser(), GetPwd(), deltaT); //authentication
        int ret_value = media->GetProfiles(&GetProfiles, GetProfilesResponse);
        if (ret_value == SOAP_OK)
           soap_OK = true; //returns true id H.264, with H.265 returns false

你能帮我解决这个问题吗?如果您需要更多信息,请在评论中询问。

【问题讨论】:

    标签: c++ soap hevc


    【解决方案1】:

    在“http://www.onvif.org/ver20/media/wsdl”而不是“http://www.onvif.org/ver10/media/wsdl”中启用了关于 Onvif 配置文件 T、H.265 的阅读文档.

    这解决了问题。

    【讨论】:

      猜你喜欢
      • 2015-05-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多