set_user_agent
Description:
Sets the user agent to use when streaming.
When streaming content, you might want to set a custom user agent, eg. to promote your software, make it appear in statistics or because the server requires a special user agent you want to impersonate.
Parameters:
this |
a Playback |
user_agent |
the user agent |