http live streaming - HLS playback performance and stability on Chromecast -


I'm having problems with HLS playback at least using v0.3.0 media player library which is currently running (v0.5.0). I know that the player's library is in beta, so I am thinking that if I look, I see others.

Actually, it appears in such a way that after some time, the Chromecast device becomes unresponsive. The debugger closes any output, closes it and attempts to reuse it in an expired error. Occasionally, after some time, the device crashes just the homescreen (no brainfreeze).

I tried to see the profile and timeline before this, and I did not see any unusual spikes; I had seen some errors in the log (but they can be unrelated to it), say something like that :

  An attempt has been made to use an object which is no longer, or is no longer usable   

what I am doing only The "unusual" thing is that I have every video timeupdate EV I broadcast the situation to print, however, no reason why the normal playback.

Hopefully you have already decided, for people with the same problem With a solution

I have a receiver streaming HLS (correctly encoded using the CORS header and AES encryption). I've noticed that sometimes Chromecast goes crazy with a lot of segments (& gt; 25Mo), then it goes to randomly crashes (approximate) when adding the segment.

Believe that I was probably asking too much of this small device, there are two solutions to reduce the device load:

  1. Disabling AES encryption (always
  2. Reducing the quality of the Segment

    About Solution 2, it works well:

      Window.host = New Artist Player APHost ({'Media Element': Media Element, 'URL': URL}); Window.protocol = cast.player.api.CreateHlsStreamingProtocol (host); window.host.getQualityLevel = function (stream indax, quality) {var cumquality = protocol .getStreamInfo () ["bitrates"]. Length -1; Var plusOneQuality = (qualityLevel == Minimum Quality) Quality Level: Quality Level + 1; Console.log ("Basic Quality Level:" + Quality, "Quality Returned", plusonuquity); Return plus equity; }   

    I would love to have some feedback about this. Did anyone have to use such a trick to prevent HLS HD streaming to crash the device?

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -