config_set_user_agent


Description:

[ Version ( since = "1.10" ) ]
public static void config_set_user_agent (Structure config, string? agent)

Set the user agent to pass to the server if player needs to connect to a server during playback.

This is typically used when playing HTTP or RTSP streams.

Parameters:

config

a Player configuration

agent

the string to use as user agent




2022 vala-language.org