config_set_user_agent


Description:

public static void config_set_user_agent (Structure config, string? agent)

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

This is typically used when playing HTTP or RTSP streams.

Parameters:

config

a Play configuration

agent

the string to use as user agent