Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Roku as media player with CQC media control
OK, some poking around seems to indicate that Roku only supports a streaming scheme called HLS. Looks like it's a pull protocol, since it's effectively using HTTP queries to pull down the media to play. Apparently it doesn't support RTP/RTSP at all, so the work I'm doing on that wouldn't help.
Dean Roddey
Software Geek Extraordinaire
Well, reading up a bit on HLS, it explains how the Plex server works like it does. The media is divided into files of a given playback length, and encoded into multiple encoding quality levels. The clients ask for the sequential chunk files during playback, which are long enough (5 to 10 seconds) to stay ahead of playback without having to read too many ahead. THe server provides a manifest that describes the available stream types for that piece of media. If the client decides that the network quality has degraded or improved, it can switch to another stream. Since each file in each encoding level holds the same time range of data, it can just start asking for the files from another stream at the same sequential step, and that will just pick it up at the same place at another encoding rate. So it can efficiently switch encodings on the fly without getting out of sync.

They all have their pros and cons. This kind of scheme really is a pull scheme over HTTP, so they can't do multi-cast channel type stuff like RTP can. I assume that, when you drive it from the server, the server just sends the client a manifest file saying, please start playing this media, and the client then chooses an appropriate stream and starts pulling down files.
Dean Roddey
Software Geek Extraordinaire

Possibly Related Threads...
Thread Author Replies Views Last Post
  Jandy Pool Control avtexan 20 2,094 06-07-2018, 01:09 PM
Last Post: Dean Roddey
  plex/roku/cqc rtarver 3 1,430 02-12-2017, 11:18 AM
Last Post: Dean Roddey
  Multi media solutions. Ron Haley 14 4,225 12-06-2016, 12:27 PM
Last Post: Dean Roddey
  Use single On/Off/Slider to control group jkmonroe 3 1,295 08-06-2016, 09:28 AM
Last Post: pinballmark
  Help figuring out projector serial control! Deane Johnson 19 3,220 07-30-2016, 11:08 AM
Last Post: Deane Johnson
  Harmony Hub Device Control jkmonroe 6 2,113 07-03-2016, 02:36 PM
Last Post: potts.mike
  how deep is your (echo voice control) love? IVB 197 16,822 05-23-2016, 08:47 AM
Last Post: Dean Roddey
  Problems with App Control in 4.8.3 update MikeA 2 1,208 04-07-2016, 07:29 AM
Last Post: MikeA
  Control surface - am I heading down a rat hole? kjaerligkatt 3 1,529 02-06-2016, 10:52 AM
Last Post: Dean Roddey
  Tivo control question MikeA 21 6,175 12-26-2015, 06:29 PM
Last Post: dogman

Forum Jump:

Users browsing this thread: 1 Guest(s)