There also streaming that require not only the user-agent, also the referer from where you took the streaming, In this second example I included the label And below the complete code with user-agent and referer together between the xml:
<refererUrl>hxxp://live-test.com</refererUrl>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed>
<!-- resultLength indicates the total number of results for this feed -->
<resultLength>4</resultLength>
<!-- endIndix indicates the number of results for this *paged* section of the feed -->
<endIndex>4</endIndex>
<item sdImg="https://devtools.web.roku.com/videoplayer/images/JimFallon.jpg" hdImg="https://devtools.web.roku.com/videoplayer/images/JimFallon.jpg">
<title>test</title>
<contentId>10001</contentId>
<contentType>Talk</contentType>
<contentQuality>SD</contentQuality>
<streamFormat>m3u8</streamFormat>
<media>
<streamQuality>SD</streamQuality>
<streamBitrate>0</streamBitrate>
<userAgent>http-user-agent=iPad</userAgent>
<refererUrl>hxxp://live-test.com</refererUrl>
<streamUrl>hxxp://test.com/live/index.m3u8</streamUrl>
</media>
<synopsis>test,test, test,test</synopsis>
<genres>Clip</genres>
<runtime>1260</runtime>
</item>
</feed>