Confusion about "Played video is too large to process synchronously..." error

Comments

3 comments

  • Avatar
    Aleksandar Kostadinov

    Hi Chris,

    Looking at the logs I see the request that produced that error. It was due to initially not having the Eager Async parameter in your preset set to True. I can then see upload requests afterwards which have been uploaded and transformed asynchronously after you've updated the preset settings to include Eager Async. Example public_id is "wsavkepn9onw4nwsdtgz" (I've omitted the name of the containing folder explicitly) which is a video close to 150MB and the derived versions (based on the configured preset) were generated asynchronously.

    If you are still seeing any issues please share an example, file, public_id, timestamp and we'll take a look at that for you.

    0
    Comment actions Permalink
  • Avatar
    Chris Hunt

    Hi Aleksander,

    Thanks for having a look!  It does seem to be working now so that's great.

    I've got a follow up question for you regarding adaptive streaming.  I've got adaptive streaming working using some of the "Cloudinary Video Player" example code here: https://cloudinary.github.io/cloudinary-video-player/adaptive-streaming.html

    These examples seem to require that the lodash, cloudinary-core, and cloudinary-video-player packages be referenced in the project.  If I install the Cloudinary Angular SDK do I still need to reference these 3 packages, or would they be bundled within that.  I'm just trying to figure out if they Cloudinary Video Player is part of the SDK or a completely separate thing.

    Thanks,
    Chris

    0
    Comment actions Permalink
  • Avatar
    Aleksandar Kostadinov

    Hi Chris,

    No worries, great to hear the uploads/eager transformations are indeed working for you now.

    Regarding your questions - The Angular SDK would ship with the standard cloudinary-core library which is the base JS SDK. The video player source code should be included separately. We wanted to only bundle the libraries needed for the Angular SDK itself as not all projects will require the video player to ship at the same time. The same is the case for lodash.

    0
    Comment actions Permalink

Please sign in to leave a comment.