Forum Discussion

matrixebiz's avatar
matrixebiz
Roku Guru
8 years ago

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>
No RepliesBe the first to reply