QtIfMedia MediaPlayer RemoteObjects Backend

Supported interfaces

Configuration

The backend uses qtifmedia as it's configurationId and accepts the following serviceSettings:

NameDescription
connectionUrlThe url the interface tries to connect to using Qt Remote Objects. Defaults to local:qtifmedia. Changing this value at runtime will reconnect the backend to the new URL.
connectionTimeoutDefines when a timeout warning should be printed (in milliseconds). To disable the warning set the timeout to -1.

In addition to those global settings, the values can also be provided per backend interface and this allows the backend to connect to multiple remote objects instances. Interface specific settings need to be prefixed with the interface name. The following example uses a global connectionTimeout and a specific connectionUrl for the player interface, while all other interfaces use the default connectionUrl:

{
    connectionTimeout: 1000,
    MediaPlayer: {
        connectionUrl: "tcp://127.0.0.1:1234"
    }
}

For backward compatibility a server.conf file in the current directory of the application (or specified by SERVER_CONF_PATH), but is marked as deprecated and will be removed in future Qt releases.

© 2024 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.