Giter Site home page Giter Site logo

Comments (3)

erhanky avatar erhanky commented on June 30, 2024

I have same problem,

The player stops and gets an error;
Firstly;
{"code":302,"message":"Some of the media could not be downloaded due to a network error.","reason":"Error occurred when downloading.","error":"bufferStalledError"}

Secondly;
{"code":302,"message":"Some of the media could not be downloaded due to a network error.","reason":"Error occurred when downloading.","error":"internalException"}

Please help me for this issues.

from ovenplayer.

tanero avatar tanero commented on June 30, 2024

video-dev/hls.js#5904

I saw a message like the one in the link above, it mentions the hls.js error detail. However, when I examine the ovenplayer codes, I see that the error return message details are missing in the provider section.

https://github.com/AirenSoft/OvenPlayer/blob/master/src/js/api/provider/html5/providers/Hls.js

hls.js Error Example :

{
  "type": "mediaError",
  "details": "bufferStalledError",
  "error":
    {
      "message": "Playhead still not moving while enough data buffered @37.961094 after 3 nudges",
      stack:"Error: Playhead still not moving while enough data buffered @37.961094 after 3 nudges ....",
    },
  "fatal": true
}

OvenPlayer Error Example:

{
   "code":302,
   "message":"Some of the media could not be downloaded due to a network error.",
   "reason":"Error occurred when downloading.",
   "error":"bufferStalledError"
}

That's why I can't see the actual detailed error coming to the player.

How can I see the error details ?

from ovenplayer.

SangwonOh avatar SangwonOh commented on June 30, 2024

In version v0.10.35, all errors in hls.js were added as follows.

{
    "code": 302,
    "message": "Some of the media could not be downloaded due to a network error.",
    "reason": "Error occurred when downloading.",
    "error": {
        "type": "networkError",
        "details": "manifestLoadError",
        "fatal": true,
        "url": "https://clips.vorwaerts-gmbh.de/big_buck_bunny.m3u8",
        "error": {},
        "networkDetails": {},
        "response": {
            "url": "https://clips.vorwaerts-gmbh.de/big_buck_bunny.m3u8",
            "code": 0,
            "text": ""
        }
        // and more
    }
}

Is the problem of your stream suddenly not playing being caused by the latest update to hls.js?
Let’s look at all the added hls.js errors and figure out the cause.

from ovenplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.