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
Explorans limites defectum
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
Explorans limites defectum

Possibly Related Threads…
Thread Author Replies Views Last Post
  Hue Lighting Control jokermac 17 6,653 03-28-2020, 06:18 AM
Last Post: jokermac
  Sonos media success simplextech 0 811 01-07-2020, 07:52 PM
Last Post: simplextech
  Jandy Pool Control avtexan 20 8,889 06-07-2018, 01:09 PM
Last Post: Dean Roddey
  plex/roku/cqc rtarver 3 2,819 02-12-2017, 11:18 AM
Last Post: Dean Roddey
  Multi media solutions. Ron Haley 14 8,761 12-06-2016, 12:27 PM
Last Post: Dean Roddey
  Use single On/Off/Slider to control group jkmonroe 3 3,139 08-06-2016, 09:28 AM
Last Post: pinballmark
  Help figuring out projector serial control! Deane Johnson 19 8,576 07-30-2016, 11:08 AM
Last Post: Deane Johnson
  Harmony Hub Device Control jkmonroe 6 4,881 07-03-2016, 02:36 PM
Last Post: potts.mike
  how deep is your (echo voice control) love? IVB 197 50,876 05-23-2016, 08:47 AM
Last Post: Dean Roddey
  Problems with App Control in 4.8.3 update MikeA 2 2,870 04-07-2016, 07:29 AM
Last Post: MikeA

Forum Jump:

Users browsing this thread: 1 Guest(s)