更改介质默认配置文件
Change media default profile
是否可以手动更改默认媒体配置文件?
我查看了文档:
根据文档,"default profile" 是通过设备功能选择的:
Real-time video and audio streaming configurations are controlled
using media profiles. A media profile maps a video and/or audio source
to a video and/or an audio encoder, PTZ and analytics configurations.
An ONVIF compliant device supporting the media service presents
different available profiles depending on its capabilities (the set of
available profiles might change dynamically though).
如果他们两个都满足能力,会选择哪个配置文件?
我可以通过 onvif 的媒体更改默认配置文件 API 吗?如果没有:如何模拟能力的变化?
如有任何帮助,我们将不胜感激。
我测试过几个品牌的相机。他们都有一些 'default' 个人资料,主要是主流(高质量)和子流(低(呃)质量)。我发现设备上配置文件的顺序是随机的,但可以通过设备软件界面手动设置。因此,如果您首先想要主流,您可以在设备软件上进行配置。然后,下次您连接到第一个可用的配置文件时,它将是您的选择之一。
在通过媒体客户端(使用 GetProfiles)获取他们之后设置配置文件可以按照 LoukMo 的评论所建议的来完成。
是否可以手动更改默认媒体配置文件? 我查看了文档:
根据文档,"default profile" 是通过设备功能选择的:
Real-time video and audio streaming configurations are controlled using media profiles. A media profile maps a video and/or audio source to a video and/or an audio encoder, PTZ and analytics configurations. An ONVIF compliant device supporting the media service presents different available profiles depending on its capabilities (the set of available profiles might change dynamically though).
如果他们两个都满足能力,会选择哪个配置文件?
我可以通过 onvif 的媒体更改默认配置文件 API 吗?如果没有:如何模拟能力的变化?
如有任何帮助,我们将不胜感激。
我测试过几个品牌的相机。他们都有一些 'default' 个人资料,主要是主流(高质量)和子流(低(呃)质量)。我发现设备上配置文件的顺序是随机的,但可以通过设备软件界面手动设置。因此,如果您首先想要主流,您可以在设备软件上进行配置。然后,下次您连接到第一个可用的配置文件时,它将是您的选择之一。
在通过媒体客户端(使用 GetProfiles)获取他们之后设置配置文件可以按照 LoukMo 的评论所建议的来完成。