playbackOptions QML Type
低级媒体播放选项。更多
Import Statement: | import QtMultimedia |
Since: | Qt 6.10 |
In C++: | QPlaybackOptions |
属性
- networkTimeoutMs : qint64
(since 6.10)
详细说明
播放选项提供了媒体播放选项的底层控制。虽然我们强烈建议使用MediaPlayer 的默认设置,但在默认选项不理想的特定使用情况下,可以使用 playbackOptions 来优化媒体播放。
请注意,选项是对媒体后端的提示,如果当前媒体格式或编解码器不支持这些选项,则可能会被忽略。
播放选项依赖于媒体后端的支持。每个选项都记录了可用性。
另请参阅 MediaPlayer 。
属性文档
networkTimeoutMs : qint64 |
确定用于某些网络格式套接字 I/O 操作的网络超时(毫秒)。
只有 FFmpeg 媒体后端支持该选项。
此属性在 Qt 6.10 中引入。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.