Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
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>
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.