Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
matrixebiz
Roku Guru

Stream 'http-user-agent' command

Hello, I have a video stream that plays fine in VLC but on some models of Roku devices the stream glitches so I was wondering if anyone is familiar with using http-user-agent? I would like to set http-user-agent to VLC if possible but I do not know the proper code. What user agent does the ROkU 3 use compared to the Roku Stick? The stream works on Roku Stick but glitches on Roku 3.

Can I just change "<userAgent>http-user-agent=iPad</userAgent>" to be "<userAgent>http-user-agent=VLC</userAgent>" instead? I think VLC uses NSPlayer/7.10.0.3059 but not sure of the proper syntax to use with the Roku code. Thanks

<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>
 <streamUrl>hxxp://test.com/live/index.m3u8</streamUrl>
 </media>
 <synopsis></synopsis>
 <genres></genres>
 <runtime>0</runtime>
 </item>
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!